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>
Showing
- drivers/hid/Kconfig 14 additions, 0 deletionsdrivers/hid/Kconfig
- drivers/hid/Makefile 6 additions, 2 deletionsdrivers/hid/Makefile
- drivers/hid/hid-core.c 1 addition, 1 deletiondrivers/hid/hid-core.c
- drivers/hid/hid-debug.c 765 additions, 0 deletionsdrivers/hid/hid-debug.c
- drivers/hid/hid-input.c 4 additions, 3 deletionsdrivers/hid/hid-input.c
- drivers/usb/input/hid-core.c 1 addition, 0 deletionsdrivers/usb/input/hid-core.c
- include/linux/hid-debug.h 18 additions, 731 deletionsinclude/linux/hid-debug.h
- include/linux/hid.h 0 additions, 10 deletionsinclude/linux/hid.h
Loading
Please register or sign in to comment