]> err.no Git - linux-2.6/commitdiff
[PATCH] amikbd fix
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 29 Oct 2005 10:49:33 +0000 (11:49 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 29 Oct 2005 17:35:07 +0000 (10:35 -0700)
it's input_allocate_device(), not input_dev_allocate()...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/keyboard/amikbd.c

index 3d63bc1ad3220fbba9a86c8f376e89f06967a658..4c8fb1f8631f37c55886196c04ac354f831b5b60 100644 (file)
@@ -199,7 +199,7 @@ static int __init amikbd_init(void)
        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);