]> err.no Git - linux-2.6/commitdiff
HID: hid/hid-input.c doesn't need to include linux/usb/input.h
authorJiri Kosina <jkosina@suse.cz>
Mon, 15 Jan 2007 23:30:42 +0000 (00:30 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 21 Jan 2007 21:17:57 +0000 (22:17 +0100)
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>
drivers/hid/hid-input.c

index 95b9573c5f93191b20c2360cf8efa5cd93ac8008..9cf591a1bda37a13698f5fe52e17e159cd714bf8 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/kernel.h>
-#include <linux/usb/input.h>
 
 #undef DEBUG