[PATCH] amikbd fix
From: Al Viro
Date: Sat Oct 29 2005 - 05:54:05 EST
it's input_allocate_device(), not input_dev_allocate()...
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----
diff -urN RC14-base/drivers/input/keyboard/amikbd.c current/drivers/input/keyboard/amikbd.c
--- RC14-base/drivers/input/keyboard/amikbd.c 2005-10-28 22:35:58.000000000 -0400
+++ current/drivers/input/keyboard/amikbd.c 2005-10-29 06:01:15.000000000 -0400
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/