amimouse_dev.evbit[0] = BIT(EV_KEY) | BIT(EV_REL); amimouse_dev.relbit[0] = BIT(REL_X) | BIT(REL_Y); amimouse_dev.keybit[LONG(BTN_LEFT)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT); amimouse_dev.open = amimouse_open; amimouse_dev.close = amimouse_close; 
if (!(amimouse_dev = input_allocate_device())) return -ENOMEM; 
static int __init amimouse_init(void){	if (!MACH_IS_AMIGA || !AMIGAHW_PRESENT(AMI_MOUSE))		return -ENODEV;	amimouse_dev.evbit[0] = BIT(EV_KEY) | BIT(EV_REL);	amimouse_dev.relbit[0] = BIT(REL_X) | BIT(REL_Y);	amimouse_dev.keybit[LONG(BTN_LEFT)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT);	amimouse_dev.open = amimouse_open;	amimouse_dev.close = amimouse_close;	amimouse_dev.name = amimouse_name;	amimouse_dev.phys = amimouse_phys;	amimouse_dev.id.bustype = BUS_AMIGA;	amimouse_dev.id.vendor = 0x0001;	amimouse_dev.id.product = 0x0002;	amimouse_dev.id.version = 0x0100;	input_register_device(&amimouse_dev);        printk(KERN_INFO "input: %s at joy0dat\n", amimouse_name);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2e5b636bb5f8dacbb91d08544e2c41ebcad5dace/amimouse.c/clean/drivers/input/mouse/amimouse.c