diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-01-25 05:43:31 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-02-05 04:00:38 -0500 |
commit | c080d89ad91e98fec0e8fc5f448a1ad899bd85c7 (patch) | |
tree | 169a03a0e8d16fe95e7d689dd9fa7775340d5dc4 /drivers/hid/Kconfig | |
parent | 20eb12790670985c8e30821218993bd260387b89 (diff) |
HID: hid debug from hid-debug.h to hid layer
hid-debug.h contains a lot of code, and should not therefore
be a header.
This patch moves the code to generic hid layer as .c source, and
introduces CONFIG_HID_DEBUG to conditionally compile it, instead
of playing with #define DEBUG and including hid-debug.h.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r-- | drivers/hid/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index ec796ad087df..850788f4dd2e 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -22,5 +22,19 @@ config HID | |||
22 | 22 | ||
23 | If unsure, say Y | 23 | If unsure, say Y |
24 | 24 | ||
25 | config HID_DEBUG | ||
26 | bool "HID debugging support" | ||
27 | depends on HID | ||
28 | ---help--- | ||
29 | This option lets the HID layer output diagnostics about its internal | ||
30 | state, resolve HID usages, dump HID fields, etc. Individual HID drivers | ||
31 | use this debugging facility to output information about individual HID | ||
32 | devices, etc. | ||
33 | |||
34 | This feature is useful for those who are either debugging the HID parser | ||
35 | or any HID hardware device. | ||
36 | |||
37 | If unsure, say N | ||
38 | |||
25 | endmenu | 39 | endmenu |
26 | 40 | ||