diff options
| author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2013-04-17 13:38:13 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2013-04-30 04:09:06 -0400 |
| commit | a5f04b9df1113e0c16271afe5e43028f0d763f13 (patch) | |
| tree | cf051c3219bcd6d1b782ad51c9a94c5ca2735467 /include/linux | |
| parent | 014642cb0a08d1b12c6089c48c7ba6002a0f6811 (diff) | |
HID: debug: break out hid_dump_report() into hid-debug
No semantic changes, but hid_dump_report should be in hid-debug.c, not
in hid-core.c
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hid-debug.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/hid-debug.h b/include/linux/hid-debug.h index 53744fa1c8b7..8663f216c563 100644 --- a/include/linux/hid-debug.h +++ b/include/linux/hid-debug.h | |||
| @@ -22,11 +22,12 @@ | |||
| 22 | * | 22 | * |
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | #define HID_DEBUG_BUFSIZE 512 | ||
| 26 | |||
| 27 | #ifdef CONFIG_DEBUG_FS | 25 | #ifdef CONFIG_DEBUG_FS |
| 28 | 26 | ||
| 27 | #define HID_DEBUG_BUFSIZE 512 | ||
| 28 | |||
| 29 | void hid_dump_input(struct hid_device *, struct hid_usage *, __s32); | 29 | void hid_dump_input(struct hid_device *, struct hid_usage *, __s32); |
| 30 | void hid_dump_report(struct hid_device *, int , u8 *, int); | ||
| 30 | void hid_dump_device(struct hid_device *, struct seq_file *); | 31 | void hid_dump_device(struct hid_device *, struct seq_file *); |
| 31 | void hid_dump_field(struct hid_field *, int, struct seq_file *); | 32 | void hid_dump_field(struct hid_field *, int, struct seq_file *); |
| 32 | char *hid_resolv_usage(unsigned, struct seq_file *); | 33 | char *hid_resolv_usage(unsigned, struct seq_file *); |
| @@ -50,6 +51,7 @@ struct hid_debug_list { | |||
| 50 | #else | 51 | #else |
| 51 | 52 | ||
| 52 | #define hid_dump_input(a,b,c) do { } while (0) | 53 | #define hid_dump_input(a,b,c) do { } while (0) |
| 54 | #define hid_dump_report(a,b,c,d) do { } while (0) | ||
| 53 | #define hid_dump_device(a,b) do { } while (0) | 55 | #define hid_dump_device(a,b) do { } while (0) |
| 54 | #define hid_dump_field(a,b,c) do { } while (0) | 56 | #define hid_dump_field(a,b,c) do { } while (0) |
| 55 | #define hid_resolv_usage(a,b) do { } while (0) | 57 | #define hid_resolv_usage(a,b) do { } while (0) |
