Skip to content

Commit

Permalink
HID: hid/hid-input.c doesn't need to include linux/usb/input.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Kosina committed Jan 21, 2007
1 parent e54dea6 commit 1f3ab01
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/hid/hid-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/usb/input.h>

#undef DEBUG

Expand Down

0 comments on commit 1f3ab01

Please sign in to comment.