summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/amikbd.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-10-29 12:49:33 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-29 19:35:07 +0200
commit32b32c2c3566b206988fa30336ec6534759823b5 (patch)
treec1e6189006a7fe3ee84038be4efb36462fe7a2a6 /drivers/input/keyboard/amikbd.c
parent[PATCH] missing exports of do_settimeofday() variants (diff)
downloadlinux-32b32c2c3566b206988fa30336ec6534759823b5.tar.xz
linux-32b32c2c3566b206988fa30336ec6534759823b5.zip
[PATCH] amikbd fix
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>
Diffstat (limited to 'drivers/input/keyboard/amikbd.c')
-rw-r--r--drivers/input/keyboard/amikbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/amikbd.c b/drivers/input/keyboard/amikbd.c
index 3d63bc1ad322..4c8fb1f8631f 100644
--- a/drivers/input/keyboard/amikbd.c
+++ b/drivers/input/keyboard/amikbd.c
@@ -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);