HID: hid debug from hid-debug.h to hid layer
authorJiri Kosina <jkosina@suse.cz>
Thu, 25 Jan 2007 10:43:31 +0000 (11:43 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 5 Feb 2007 09:00:38 +0000 (10:00 +0100)
commitc080d89ad91e98fec0e8fc5f448a1ad899bd85c7
tree169a03a0e8d16fe95e7d689dd9fa7775340d5dc4
parent20eb12790670985c8e30821218993bd260387b89
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>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-debug.c [new file with mode: 0644]
drivers/hid/hid-input.c
drivers/usb/input/hid-core.c
include/linux/hid-debug.h
include/linux/hid.h