diff options
Diffstat (limited to 'drivers/usb/input/hid.h')
-rw-r--r-- | drivers/usb/input/hid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/input/hid.h b/drivers/usb/input/hid.h index b03fd9b075df..9b50effef758 100644 --- a/drivers/usb/input/hid.h +++ b/drivers/usb/input/hid.h | |||
@@ -499,13 +499,13 @@ struct hid_descriptor { | |||
499 | /* Applications from HID Usage Tables 4/8/99 Version 1.1 */ | 499 | /* Applications from HID Usage Tables 4/8/99 Version 1.1 */ |
500 | /* We ignore a few input applications that are not widely used */ | 500 | /* We ignore a few input applications that are not widely used */ |
501 | #define IS_INPUT_APPLICATION(a) (((a >= 0x00010000) && (a <= 0x00010008)) || (a == 0x00010080) || (a == 0x000c0001)) | 501 | #define IS_INPUT_APPLICATION(a) (((a >= 0x00010000) && (a <= 0x00010008)) || (a == 0x00010080) || (a == 0x000c0001)) |
502 | extern void hidinput_hid_event(struct hid_device *, struct hid_field *, struct hid_usage *, __s32, struct pt_regs *regs); | 502 | extern void hidinput_hid_event(struct hid_device *, struct hid_field *, struct hid_usage *, __s32); |
503 | extern void hidinput_report_event(struct hid_device *hid, struct hid_report *report); | 503 | extern void hidinput_report_event(struct hid_device *hid, struct hid_report *report); |
504 | extern int hidinput_connect(struct hid_device *); | 504 | extern int hidinput_connect(struct hid_device *); |
505 | extern void hidinput_disconnect(struct hid_device *); | 505 | extern void hidinput_disconnect(struct hid_device *); |
506 | #else | 506 | #else |
507 | #define IS_INPUT_APPLICATION(a) (0) | 507 | #define IS_INPUT_APPLICATION(a) (0) |
508 | static inline void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, struct pt_regs *regs) { } | 508 | static inline void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) { } |
509 | static inline void hidinput_report_event(struct hid_device *hid, struct hid_report *report) { } | 509 | static inline void hidinput_report_event(struct hid_device *hid, struct hid_report *report) { } |
510 | static inline int hidinput_connect(struct hid_device *hid) { return -ENODEV; } | 510 | static inline int hidinput_connect(struct hid_device *hid) { return -ENODEV; } |
511 | static inline void hidinput_disconnect(struct hid_device *hid) { } | 511 | static inline void hidinput_disconnect(struct hid_device *hid) { } |