[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>
This commit is contained in:
parent
943eae0314
commit
32b32c2c35
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue