浏览代码

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 年之前
父节点
当前提交
1f3ab01333
共有 1 个文件被更改,包括 0 次插入1 次删除
  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