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:
Uwe Kleine-König (The Capable Hub) 2026-07-06 11:21:40 +02:00 committed by Jiri Kosina
parent 480c9cb14a
commit dbafba22aa

View File

@ -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>