diff options
Diffstat (limited to 'include/linux/hiddev.h')
-rw-r--r-- | include/linux/hiddev.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/hiddev.h b/include/linux/hiddev.h index a416b904ba90..6ae77b3468f9 100644 --- a/include/linux/hiddev.h +++ b/include/linux/hiddev.h | |||
@@ -217,7 +217,7 @@ struct hid_field; | |||
217 | struct hid_report; | 217 | struct hid_report; |
218 | 218 | ||
219 | #ifdef CONFIG_USB_HIDDEV | 219 | #ifdef CONFIG_USB_HIDDEV |
220 | int hiddev_connect(struct hid_device *); | 220 | int hiddev_connect(struct hid_device *hid, unsigned int force); |
221 | void hiddev_disconnect(struct hid_device *); | 221 | void hiddev_disconnect(struct hid_device *); |
222 | void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, | 222 | void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, |
223 | struct hid_usage *usage, __s32 value); | 223 | struct hid_usage *usage, __s32 value); |
@@ -225,7 +225,9 @@ void hiddev_report_event(struct hid_device *hid, struct hid_report *report); | |||
225 | int __init hiddev_init(void); | 225 | int __init hiddev_init(void); |
226 | void hiddev_exit(void); | 226 | void hiddev_exit(void); |
227 | #else | 227 | #else |
228 | static inline int hiddev_connect(struct hid_device *hid) { return -1; } | 228 | static inline int hiddev_connect(struct hid_device *hid, |
229 | unsigned int force) | ||
230 | { return -1; } | ||
229 | static inline void hiddev_disconnect(struct hid_device *hid) { } | 231 | static inline void hiddev_disconnect(struct hid_device *hid) { } |
230 | static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, | 232 | static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, |
231 | struct hid_usage *usage, __s32 value) { } | 233 | struct hid_usage *usage, __s32 value) { } |