提交 fb9ac9bd 编写于 作者: A Adrian Bunk 提交者: Greg Kroah-Hartman

[PATCH] USB: input/: proper prototypes

This patch adds proper prototypes in a header file for some global
functions.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 75e2df60
...@@ -34,12 +34,6 @@ ...@@ -34,12 +34,6 @@
#include "hid.h" #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 * This table contains pointers to initializers. To add support for new
* devices, you need to add the USB vendor and product ids here. * devices, you need to add the USB vendor and product ids here.
......
...@@ -533,3 +533,8 @@ static inline int hid_ff_event(struct hid_device *hid, struct input_dev *input, ...@@ -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 hid->ff_event(hid, input, type, code, value);
return -ENOSYS; 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);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册