diff options
-rw-r--r-- | drivers/input/keyboard/amikbd.c | 2 |
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) | |||
199 | if (!request_mem_region(CIAA_PHYSADDR-1+0xb00, 0x100, "amikeyb")) | 199 | if (!request_mem_region(CIAA_PHYSADDR-1+0xb00, 0x100, "amikeyb")) |
200 | return -EBUSY; | 200 | return -EBUSY; |
201 | 201 | ||
202 | amikbd_dev = input_dev_allocate(); | 202 | amikbd_dev = input_allocate_device(); |
203 | if (!amikbd_dev) { | 203 | if (!amikbd_dev) { |
204 | printk(KERN_ERR "amikbd: not enough memory for input device\n"); | 204 | printk(KERN_ERR "amikbd: not enough memory for input device\n"); |
205 | release_mem_region(CIAA_PHYSADDR - 1 + 0xb00, 0x100); | 205 | release_mem_region(CIAA_PHYSADDR - 1 + 0xb00, 0x100); |