/* This function checks and requests an I/O region, reporting an error if there is a conflict.  */
static int pc263_request_region(unsigned minor, unsigned long from, unsigned long extent)
/* This function checks and requests an I/O region, reporting an error if there is a conflict.  */
static int pc263_request_region(unsigned minor, unsigned long from, unsigned long extent)
{
	if (!from || !request_region(from, extent, PC263_DRIVER_NAME)) {
		printk(KERN_ERR "comedi%d: I/O port conflict (%#lx,%lu)!\n",
		       minor, from, extent);
		return -EIO;
	}
	return 0;
}