diff options
| author | 2012-05-22 11:32:31 +0200 | |
|---|---|---|
| committer | 2012-05-22 11:32:31 +0200 | |
| commit | 56ccd186f1837dd418cd094f0e96b3196bbab9ef (patch) | |
| tree | 195cdd3973a1288eb84f51f0ec28a947b333c2c5 /include/linux/hidraw.h | |
| parent | Merge branches 'device-groups', 'logitech' and 'multitouch' into for-linus (diff) | |
| parent | HID: uclogic: Add support for UC-Logic TWHL850 (diff) | |
| download | wireguard-linux-56ccd186f1837dd418cd094f0e96b3196bbab9ef.tar.xz wireguard-linux-56ccd186f1837dd418cd094f0e96b3196bbab9ef.zip | |
Merge branch 'upstream' into for-linus
Conflicts:
drivers/hid/hid-core.c
Diffstat (limited to '')
| -rw-r--r-- | include/linux/hidraw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hidraw.h b/include/linux/hidraw.h index 4b88e697c4e9..45e9fcb8d877 100644 --- a/include/linux/hidraw.h +++ b/include/linux/hidraw.h @@ -76,13 +76,13 @@ struct hidraw_list { #ifdef CONFIG_HIDRAW int hidraw_init(void); void hidraw_exit(void); -void hidraw_report_event(struct hid_device *, u8 *, int); +int hidraw_report_event(struct hid_device *, u8 *, int); int hidraw_connect(struct hid_device *); void hidraw_disconnect(struct hid_device *); #else static inline int hidraw_init(void) { return 0; } static inline void hidraw_exit(void) { } -static inline void hidraw_report_event(struct hid_device *hid, u8 *data, int len) { } +static inline int hidraw_report_event(struct hid_device *hid, u8 *data, int len) { return 0; } static inline int hidraw_connect(struct hid_device *hid) { return -1; } static inline void hidraw_disconnect(struct hid_device *hid) { } #endif |
