From 8f86a2c3cb90e8bb0733de2d2b0abbe7050bb536 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 3 Jul 2011 13:39:48 -0400 Subject: hid: Add module.h to fix up implicit users of it A pending cleanup will mean that module.h won't be implicitly everywhere anymore. Make sure the modular drivers in clocksource are actually calling out for explicitly in advance. Signed-off-by: Paul Gortmaker --- drivers/hid/hid-emsff.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/hid/hid-emsff.c') diff --git a/drivers/hid/hid-emsff.c b/drivers/hid/hid-emsff.c index a5dc13fe367b..9bdde867a02f 100644 --- a/drivers/hid/hid-emsff.c +++ b/drivers/hid/hid-emsff.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "hid-ids.h" #include "usbhid/usbhid.h" -- cgit v1.2.3 From 05ee28387946ca9936956a6e45f822c0c41dfc87 Mon Sep 17 00:00:00 2001 From: Jiri Kosina Date: Wed, 21 Dec 2011 00:29:19 +0100 Subject: HID: emsff: use symbolic name instead of hardcoded PID constant Use macro instead of 0x118 PID in device table. Signed-off-by: Jiri Kosina --- drivers/hid/hid-emsff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/hid/hid-emsff.c') diff --git a/drivers/hid/hid-emsff.c b/drivers/hid/hid-emsff.c index a5dc13fe367b..4e02ec7a1c40 100644 --- a/drivers/hid/hid-emsff.c +++ b/drivers/hid/hid-emsff.c @@ -139,7 +139,7 @@ err: } static const struct hid_device_id ems_devices[] = { - { HID_USB_DEVICE(USB_VENDOR_ID_EMS, 0x118) }, + { HID_USB_DEVICE(USB_VENDOR_ID_EMS, USB_DEVICE_ID_EMS_TRIO_LINKER_PLUS_II) }, { } }; MODULE_DEVICE_TABLE(hid, ems_devices); -- cgit v1.2.3