Showing the changes to include (2 of 13 files). Show all
Unified · Split
| @@ -896,7 +896,7 @@ static inline int hid_hw_power(struct hid_device *hdev, int level) · 895 unmodified lines | ||
| 896 | 896 | return hdev->ll_driver->power ? hdev->ll_driver->power(hdev, level) : 0; |
| 897 | 897 | } |
| 898 | 898 | |
| 899 | −void hid_report_raw_event(struct hid_device *hid, int type, u8 *data, int size, | |
| 899 | +int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, int size, | |
| 900 | 900 | int interrupt); |
| 901 | 901 | |
| 902 | 902 | extern int hid_generic_init(void); |
| @@ -76,13 +76,13 @@ struct hidraw_list { · 75 unmodified lines | ||
| 76 | 76 | #ifdef CONFIG_HIDRAW |
| 77 | 77 | int hidraw_init(void); |
| 78 | 78 | void hidraw_exit(void); |
| 79 | −void hidraw_report_event(struct hid_device *, u8 *, int); | |
| 79 | +int hidraw_report_event(struct hid_device *, u8 *, int); | |
| 80 | 80 | int hidraw_connect(struct hid_device *); |
| 81 | 81 | void hidraw_disconnect(struct hid_device *); |
| 82 | 82 | #else |
| 83 | 83 | static inline int hidraw_init(void) { return 0; } |
| 84 | 84 | static inline void hidraw_exit(void) { } |
| 85 | −static inline void hidraw_report_event(struct hid_device *hid, u8 *data, int len) { } | |
| 85 | +static inline int hidraw_report_event(struct hid_device *hid, u8 *data, int len) { return 0; } | |
| 86 | 86 | static inline int hidraw_connect(struct hid_device *hid) { return -1; } |
| 87 | 87 | static inline void hidraw_disconnect(struct hid_device *hid) { } |
| 88 | 88 | #endif |