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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]