summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-01-16 00:30:42 +0100
committerJiri Kosina <jkosina@suse.cz>2007-01-21 22:17:57 +0100
commit1f3ab013336e76687441462961000157c8980bb8 (patch)
treefbe5adfa5d01cb427fe4e141c61985b45f147f66 /drivers/hid
parentHID: compilation fix when DEBUG_DATA is defined (diff)
downloadlinux-1f3ab013336e76687441462961000157c8980bb8.tar.xz
linux-1f3ab013336e76687441462961000157c8980bb8.zip
HID: hid/hid-input.c doesn't need to include linux/usb/input.h
There is no reason for generic hid-input.c to include usb-specific input.h. As a sideeffect, this also fixes warning of redefinition of dbg() macro, when hid-input.c is compiled with DEBUG (as there is a clash between dbg() from hid.h and usb/input.h). Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-input.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 95b9573c5f93..9cf591a1bda3 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -30,7 +30,6 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/kernel.h>
-#include <linux/usb/input.h>
#undef DEBUG