aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hid-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hid-debug.h')
-rw-r--r--include/linux/hid-debug.h32
1 files changed, 19 insertions, 13 deletions
diff --git a/include/linux/hid-debug.h b/include/linux/hid-debug.h
index 50d568ec178a..516e12c33235 100644
--- a/include/linux/hid-debug.h
+++ b/include/linux/hid-debug.h
@@ -2,7 +2,7 @@
2#define __HID_DEBUG_H 2#define __HID_DEBUG_H
3 3
4/* 4/*
5 * Copyright (c) 2007 Jiri Kosina 5 * Copyright (c) 2007-2009 Jiri Kosina
6 */ 6 */
7 7
8/* 8/*
@@ -22,24 +22,30 @@
22 * 22 *
23 */ 23 */
24 24
25#ifdef CONFIG_HID_DEBUG 25#ifdef CONFIG_DEBUG_FS
26 26
27void hid_dump_input(struct hid_usage *, __s32); 27void hid_dump_input(struct hid_usage *, __s32);
28void hid_dump_device(struct hid_device *); 28void hid_dump_device(struct hid_device *, struct seq_file *);
29void hid_dump_field(struct hid_field *, int); 29void hid_dump_field(struct hid_field *, int, struct seq_file *);
30void hid_resolv_usage(unsigned); 30void hid_resolv_usage(unsigned, struct seq_file *);
31void hid_resolv_event(__u8, __u16); 31void hid_debug_register(struct hid_device *, const char *);
32void hid_debug_unregister(struct hid_device *);
33void hid_debug_init(void);
34void hid_debug_exit(void);
32 35
33#else 36#else
34 37
35#define hid_dump_input(a,b) do { } while (0) 38#define hid_dump_input(a,b) do { } while (0)
36#define hid_dump_device(c) do { } while (0) 39#define hid_dump_device(c) do { } while (0)
37#define hid_dump_field(a,b) do { } while (0) 40#define hid_dump_field(a,b) do { } while (0)
38#define hid_resolv_usage(a) do { } while (0) 41#define hid_resolv_usage(a) do { } while (0)
39#define hid_resolv_event(a,b) do { } while (0) 42#define hid_resolv_event(a,b) do { } while (0)
40 43#define hid_debug_register(a, b) do { } while (0)
41#endif /* CONFIG_HID_DEBUG */ 44#define hid_debug_unregister(a) do { } while (0)
45#define hid_debug_init() do { } while (0)
46#define hid_debug_exit() do { } while (0)
42 47
48#endif
43 49
44#endif 50#endif
45 51