[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
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ static int __init amikbd_init(void)
|
||||||
if (!request_mem_region(CIAA_PHYSADDR-1+0xb00, 0x100, "amikeyb"))
|
if (!request_mem_region(CIAA_PHYSADDR-1+0xb00, 0x100, "amikeyb"))
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
|
|
||||||
amikbd_dev = input_dev_allocate();
|
amikbd_dev = input_allocate_device();
|
||||||
if (!amikbd_dev) {
|
if (!amikbd_dev) {
|
||||||
printk(KERN_ERR "amikbd: not enough memory for input device\n");
|
printk(KERN_ERR "amikbd: not enough memory for input device\n");
|
||||||
release_mem_region(CIAA_PHYSADDR - 1 + 0xb00, 0x100);
|
release_mem_region(CIAA_PHYSADDR - 1 + 0xb00, 0x100);
|
||||||
|
|
Loading…
Add table
Reference in a new issue