* [PATCH] amikbd fix
@ 2005-10-29 10:49 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-10-29 10:49 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Dmitry Torokhov, linux-kernel
it's input_allocate_device(), not input_dev_allocate()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
diff -urN RC14-base/drivers/input/keyboard/amikbd.c current/drivers/input/keyboard/amikbd.c
--- RC14-base/drivers/input/keyboard/amikbd.c 2005-10-28 22:35:58.000000000 -0400
+++ current/drivers/input/keyboard/amikbd.c 2005-10-29 06:01:15.000000000 -0400
@@ -199,7 +199,7 @@
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-29 10:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29 10:49 [PATCH] amikbd fix Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox