diff options
Diffstat (limited to 'drivers/hid/hid-magicmouse.c')
-rw-r--r-- | drivers/hid/hid-magicmouse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c index 42ed887ba0be..b454c4386157 100644 --- a/drivers/hid/hid-magicmouse.c +++ b/drivers/hid/hid-magicmouse.c | |||
@@ -531,12 +531,12 @@ static int magicmouse_probe(struct hid_device *hdev, | |||
531 | 531 | ||
532 | if (id->product == USB_DEVICE_ID_APPLE_MAGICMOUSE) | 532 | if (id->product == USB_DEVICE_ID_APPLE_MAGICMOUSE) |
533 | report = hid_register_report(hdev, HID_INPUT_REPORT, | 533 | report = hid_register_report(hdev, HID_INPUT_REPORT, |
534 | MOUSE_REPORT_ID); | 534 | MOUSE_REPORT_ID, 0); |
535 | else { /* USB_DEVICE_ID_APPLE_MAGICTRACKPAD */ | 535 | else { /* USB_DEVICE_ID_APPLE_MAGICTRACKPAD */ |
536 | report = hid_register_report(hdev, HID_INPUT_REPORT, | 536 | report = hid_register_report(hdev, HID_INPUT_REPORT, |
537 | TRACKPAD_REPORT_ID); | 537 | TRACKPAD_REPORT_ID, 0); |
538 | report = hid_register_report(hdev, HID_INPUT_REPORT, | 538 | report = hid_register_report(hdev, HID_INPUT_REPORT, |
539 | DOUBLE_REPORT_ID); | 539 | DOUBLE_REPORT_ID, 0); |
540 | } | 540 | } |
541 | 541 | ||
542 | if (!report) { | 542 | if (!report) { |