diff options
Diffstat (limited to 'drivers/hid/hid-roccat-arvo.c')
-rw-r--r-- | drivers/hid/hid-roccat-arvo.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/hid/hid-roccat-arvo.c b/drivers/hid/hid-roccat-arvo.c index d72ee4186d11..7b9a992611bc 100644 --- a/drivers/hid/hid-roccat-arvo.c +++ b/drivers/hid/hid-roccat-arvo.c | |||
@@ -21,8 +21,8 @@ | |||
21 | #include <linux/hid.h> | 21 | #include <linux/hid.h> |
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | #include <linux/roccat.h> | ||
24 | #include "hid-ids.h" | 25 | #include "hid-ids.h" |
25 | #include "hid-roccat.h" | ||
26 | #include "hid-roccat-common.h" | 26 | #include "hid-roccat-common.h" |
27 | #include "hid-roccat-arvo.h" | 27 | #include "hid-roccat-arvo.h" |
28 | 28 | ||
@@ -303,7 +303,8 @@ static int arvo_init_specials(struct hid_device *hdev) | |||
303 | goto exit_free; | 303 | goto exit_free; |
304 | } | 304 | } |
305 | 305 | ||
306 | retval = roccat_connect(arvo_class, hdev); | 306 | retval = roccat_connect(arvo_class, hdev, |
307 | sizeof(struct arvo_roccat_report)); | ||
307 | if (retval < 0) { | 308 | if (retval < 0) { |
308 | hid_err(hdev, "couldn't init char dev\n"); | 309 | hid_err(hdev, "couldn't init char dev\n"); |
309 | } else { | 310 | } else { |
@@ -386,8 +387,8 @@ static void arvo_report_to_chrdev(struct arvo_device const *arvo, | |||
386 | else | 387 | else |
387 | roccat_report.action = ARVO_ROCCAT_REPORT_ACTION_RELEASE; | 388 | roccat_report.action = ARVO_ROCCAT_REPORT_ACTION_RELEASE; |
388 | 389 | ||
389 | roccat_report_event(arvo->chrdev_minor, (uint8_t const *)&roccat_report, | 390 | roccat_report_event(arvo->chrdev_minor, |
390 | sizeof(struct arvo_roccat_report)); | 391 | (uint8_t const *)&roccat_report); |
391 | } | 392 | } |
392 | 393 | ||
393 | static int arvo_raw_event(struct hid_device *hdev, | 394 | static int arvo_raw_event(struct hid_device *hdev, |