[PATCH] USB: input/: proper prototypes
authorAdrian Bunk <bunk@stusta.de>
Sat, 25 Mar 2006 17:03:38 +0000 (18:03 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Apr 2006 18:12:20 +0000 (11:12 -0700)
This patch adds proper prototypes in a header file for some global
functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/hid-ff.c
drivers/usb/input/hid.h

index 72e698658b5322570e40a830634999fbca46e6de..d5c91ee67991cf9e4331ad451cca18ca8e67a2c4 100644 (file)
 
 #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.
index 4e1b784fe5275c48e4e48455a495f44fd6c84abb..9c62837b5b899c2fcb40389725bee142b619db6c 100644 (file)
@@ -533,3 +533,8 @@ static inline int hid_ff_event(struct hid_device *hid, struct input_dev *input,
                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);
+