All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/usb/input/: proper prototypes
@ 2006-03-25 17:03 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-03-25 17:03 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb-devel, linux-input, linux-kernel

This patch adds proper prototypes in a header file for some global 
functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-25 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-25 17:03 [2.6 patch] drivers/usb/input/: proper prototypes Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.