diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hid.h | 5 | ||||
| -rw-r--r-- | include/linux/hiddev.h | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 42a0f1d11365..bb0f56f5c01e 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
| @@ -316,6 +316,7 @@ struct hid_item { | |||
| 316 | #define HID_QUIRK_FULLSPEED_INTERVAL 0x10000000 | 316 | #define HID_QUIRK_FULLSPEED_INTERVAL 0x10000000 |
| 317 | #define HID_QUIRK_NO_INIT_REPORTS 0x20000000 | 317 | #define HID_QUIRK_NO_INIT_REPORTS 0x20000000 |
| 318 | #define HID_QUIRK_NO_IGNORE 0x40000000 | 318 | #define HID_QUIRK_NO_IGNORE 0x40000000 |
| 319 | #define HID_QUIRK_NO_INPUT_SYNC 0x80000000 | ||
| 319 | 320 | ||
| 320 | /* | 321 | /* |
| 321 | * This is the global environment of the parser. This information is | 322 | * This is the global environment of the parser. This information is |
| @@ -626,8 +627,8 @@ struct hid_driver { | |||
| 626 | int (*event)(struct hid_device *hdev, struct hid_field *field, | 627 | int (*event)(struct hid_device *hdev, struct hid_field *field, |
| 627 | struct hid_usage *usage, __s32 value); | 628 | struct hid_usage *usage, __s32 value); |
| 628 | 629 | ||
| 629 | void (*report_fixup)(struct hid_device *hdev, __u8 *buf, | 630 | __u8 *(*report_fixup)(struct hid_device *hdev, __u8 *buf, |
| 630 | unsigned int size); | 631 | unsigned int *size); |
| 631 | 632 | ||
| 632 | int (*input_mapping)(struct hid_device *hdev, | 633 | int (*input_mapping)(struct hid_device *hdev, |
| 633 | struct hid_input *hidinput, struct hid_field *field, | 634 | struct hid_input *hidinput, struct hid_field *field, |
diff --git a/include/linux/hiddev.h b/include/linux/hiddev.h index bb6f58baf319..a3f481a3063b 100644 --- a/include/linux/hiddev.h +++ b/include/linux/hiddev.h | |||
| @@ -226,8 +226,6 @@ void hiddev_disconnect(struct hid_device *); | |||
| 226 | void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, | 226 | void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, |
| 227 | struct hid_usage *usage, __s32 value); | 227 | struct hid_usage *usage, __s32 value); |
| 228 | void hiddev_report_event(struct hid_device *hid, struct hid_report *report); | 228 | void hiddev_report_event(struct hid_device *hid, struct hid_report *report); |
| 229 | int __init hiddev_init(void); | ||
| 230 | void hiddev_exit(void); | ||
| 231 | #else | 229 | #else |
| 232 | static inline int hiddev_connect(struct hid_device *hid, | 230 | static inline int hiddev_connect(struct hid_device *hid, |
| 233 | unsigned int force) | 231 | unsigned int force) |
| @@ -236,8 +234,6 @@ static inline void hiddev_disconnect(struct hid_device *hid) { } | |||
| 236 | static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, | 234 | static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, |
| 237 | struct hid_usage *usage, __s32 value) { } | 235 | struct hid_usage *usage, __s32 value) { } |
| 238 | static inline void hiddev_report_event(struct hid_device *hid, struct hid_report *report) { } | 236 | static inline void hiddev_report_event(struct hid_device *hid, struct hid_report *report) { } |
| 239 | static inline int hiddev_init(void) { return 0; } | ||
| 240 | static inline void hiddev_exit(void) { } | ||
| 241 | #endif | 237 | #endif |
| 242 | 238 | ||
| 243 | #endif | 239 | #endif |
