From: Al Viro Date: Sat, 29 Oct 2005 10:49:33 +0000 (+0100) Subject: [PATCH] amikbd fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32b32c2c3566b206988fa30336ec6534759823b5;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] amikbd fix it's input_allocate_device(), not input_dev_allocate()... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/input/keyboard/amikbd.c b/drivers/input/keyboard/amikbd.c index 3d63bc1ad32..4c8fb1f8631 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);