These were actually introduced in 2.6.28.h and as such
we were getting a lot of redefinition warnings which
can cause delays in compilation. Lets clear this up ;)
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
#include <linux/types.h>
#include <linux/cpumask.h>
#include <linux/mod_devicetable.h>
+#include <linux/input.h>
#define HID_ANY_ID (~0)
+#define HID_USB_DEVICE(ven, prod) \
+ .bus = BUS_USB, .vendor = (ven), .product = (prod)
+#define HID_BLUETOOTH_DEVICE(ven, prod) \
+ .bus = BUS_BLUETOOTH, .vendor = (ven), .product = (prod)
+
+
struct hid_device_id {
__u16 bus;
__u32 vendor;
#include <linux/hid.h>
-#define HID_USB_DEVICE(ven, prod) \
- .bus = BUS_USB, .vendor = (ven), .product = (prod)
-#define HID_BLUETOOTH_DEVICE(ven, prod) \
- .bus = BUS_BLUETOOTH, .vendor = (ven), .product = (prod)
-
#define HID_BUS_ANY 0xffff
#define HID_GROUP_ANY 0x0000