mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
HID: wacom: #include <linux/device-id/hid.h> instead of <linux/mod_devicetable.h>
The single device-id structure that is used by drivers/hid/wacom.h and its users (drivers/hid/wacom_sys.c + drivers/hid/wacom_wac.c) is struct hid_device_id. So #include the much more lightweight <linux/device-id/hid.h> instead the full <linux/mod_devicetable.h>. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Acked-by: Ping Cheng <ping.cheng@wacom.com> Tested-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
parent
480c9cb14a
commit
dbafba22aa
|
|
@ -82,7 +82,7 @@
|
|||
#include <linux/kernel.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/mod_devicetable.h>
|
||||
#include <linux/device-id/hid.h>
|
||||
#include <linux/hid.h>
|
||||
#include <linux/kfifo.h>
|
||||
#include <linux/leds.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user