This patch adds proper prototypes in a header file for some global
functions.
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
---
drivers/usb/input/hid-ff.c | 6 ------
drivers/usb/input/hid.h | 5 +++++
2 files changed, 5 insertions(+), 6 deletions(-)
--- linux-2.6.16-mm1-full/drivers/usb/input/hid.h.old 2006-03-25
15:42:13.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/usb/input/hid.h 2006-03-25
15:43:38.000000000 +0100
@@ -533,3 +533,8 @@
return hid->ff_event(hid, input, type, code, value);
return -ENOSYS;
}
+
+int hid_lgff_init(struct hid_device* hid);
+int hid_tmff_init(struct hid_device* hid);
+int hid_pid_init(struct hid_device* hid);
+
--- linux-2.6.16-mm1-full/drivers/usb/input/hid-ff.c.old 2006-03-25
15:43:47.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/usb/input/hid-ff.c 2006-03-25
15:44:09.000000000 +0100
@@ -34,12 +34,6 @@
#include "hid.h"
-/* Drivers' initializing functions */
-extern int hid_lgff_init(struct hid_device* hid);
-extern int hid_lg3d_init(struct hid_device* hid);
-extern int hid_pid_init(struct hid_device* hid);
-extern int hid_tmff_init(struct hid_device* hid);
-
/*
* This table contains pointers to initializers. To add support for new
* devices, you need to add the USB vendor and product ids here.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel