Skip to contentSkip to conversation

amikbd fix

PATCH New Al Viro 1 participant 1 message Oct 29, 2005 Input drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 amikbd fix

it's input_allocate_device(), not input_dev_allocate()...

----

drivers/input/keyboard/amikbd.c +1 -1
diff -urN RC14-base/drivers/input/keyboard/amikbd.c current/drivers/input/keyboard/amikbd.c
@@ -199,7 +199,7 @@
 	if (!request_mem_region(CIAA_PHYSADDR-1+0xb00, 0x100, "amikeyb"))
 		return -EBUSY;
 
-	amikbd_dev = input_dev_allocate();
+	amikbd_dev = input_allocate_device();
 	if (!amikbd_dev) {
 		printk(KERN_ERR "amikbd: not enough memory for input device\n");
 		release_mem_region(CIAA_PHYSADDR - 1 + 0xb00, 0x100);