aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-debug.c
Commit message (Collapse)AuthorAgeFilesLines
* HID: make debugging output runtime-configurableJiri Kosina2007-07-091-0/+15
| | | | | | | | | | | | | There have been many reports recently about broken HID devices, the diagnosis of which required users to recompile their kernels in order to be able to provide debugging output needed for coding a quirk for a particular device. This patch makes CONFIG_HID_DEBUG default y if !EMBEDDED and makes it possible to control debugging output produced by HID code by supplying 'debug=1' module parameter. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: hid-debug.c should #include <linux/hid-debug.h>Adrian Bunk2007-03-011-0/+1
| | | | | | | | Every file should include the headers containing the prototypes for it's global functions. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: move away from DEBUG defines in favor of CONFIG_HID_DEBUGJiri Kosina2007-02-051-1/+0
| | | | | | | | | | | | CONFIG_INPUT_DEBUG is non-existent option, so remove anything depending on it. Also, as we have new CONFIG_HID_DEBUG, this should be used on places where ifdef DEBUG was used before. Suggested by Adrian Bunk. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: hid debug from hid-debug.h to hid layerJiri Kosina2007-02-051-0/+765
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>