Sfoglia il codice sorgente

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>
Jiri Kosina 18 anni fa
parent
commit
1f3ab01333
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      drivers/hid/hid-input.c

+ 0 - 1
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