aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-core.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-01-25 05:43:31 -0500
committerJiri Kosina <jkosina@suse.cz>2007-02-05 04:00:38 -0500
commitc080d89ad91e98fec0e8fc5f448a1ad899bd85c7 (patch)
tree169a03a0e8d16fe95e7d689dd9fa7775340d5dc4 /drivers/hid/hid-core.c
parent20eb12790670985c8e30821218993bd260387b89 (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/hid-core.c')
-rw-r--r--drivers/hid/hid-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 49f18f5b2514..0796f64b3c54 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -28,11 +28,11 @@
28#include <linux/input.h> 28#include <linux/input.h>
29#include <linux/wait.h> 29#include <linux/wait.h>
30 30
31#undef DEBUG
32#undef DEBUG_DATA 31#undef DEBUG_DATA
33 32
34#include <linux/hid.h> 33#include <linux/hid.h>
35#include <linux/hiddev.h> 34#include <linux/hiddev.h>
35#include <linux/hid-debug.h>
36 36
37/* 37/*
38 * Version Information 38 * Version Information