diff options
Diffstat (limited to 'drivers/hid/hid-roccat.h')
-rw-r--r-- | drivers/hid/hid-roccat.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hid/hid-roccat.h b/drivers/hid/hid-roccat.h index 09e864e9f79d..5784281d613f 100644 --- a/drivers/hid/hid-roccat.h +++ b/drivers/hid/hid-roccat.h | |||
@@ -16,11 +16,12 @@ | |||
16 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | 17 | ||
18 | #if defined(CONFIG_HID_ROCCAT) || defined(CONFIG_HID_ROCCAT_MODULE) | 18 | #if defined(CONFIG_HID_ROCCAT) || defined(CONFIG_HID_ROCCAT_MODULE) |
19 | int roccat_connect(struct hid_device *hid); | 19 | int roccat_connect(struct class *klass, struct hid_device *hid); |
20 | void roccat_disconnect(int minor); | 20 | void roccat_disconnect(int minor); |
21 | int roccat_report_event(int minor, u8 const *data, int len); | 21 | int roccat_report_event(int minor, u8 const *data, int len); |
22 | #else | 22 | #else |
23 | static inline int roccat_connect(struct hid_device *hid) { return -1; } | 23 | static inline int roccat_connect(struct class *klass, |
24 | struct hid_device *hid) { return -1; } | ||
24 | static inline void roccat_disconnect(int minor) {} | 25 | static inline void roccat_disconnect(int minor) {} |
25 | static inline int roccat_report_event(int minor, u8 const *data, int len) | 26 | static inline int roccat_report_event(int minor, u8 const *data, int len) |
26 | { | 27 | { |