From: Greg Kroah-Hartman Date: Mon, 14 Feb 2022 09:31:55 +0000 (+0100) Subject: 4.9-stable patches X-Git-Tag: v4.9.302~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0067a3c3c491857453e10dc94dae2c3598793213;p=thirdparty%2Fkernel%2Fstable-queue.git 4.9-stable patches added patches: hid-wacom-add-usb_hid-dependency.patch --- diff --git a/queue-4.9/hid-wacom-add-usb_hid-dependency.patch b/queue-4.9/hid-wacom-add-usb_hid-dependency.patch new file mode 100644 index 00000000000..1dec3330b6b --- /dev/null +++ b/queue-4.9/hid-wacom-add-usb_hid-dependency.patch @@ -0,0 +1,35 @@ +From 9d14201c7444bbdf89413e88d91b73150c3de38b Mon Sep 17 00:00:00 2001 +From: Arnd Bergmann +Date: Fri, 28 Jul 2017 15:18:00 +0200 +Subject: HID: wacom: add USB_HID dependency + +From: Arnd Bergmann + +commit 9d14201c7444bbdf89413e88d91b73150c3de38b upstream. + +The driver has gained a compile-time dependency that we should +express in Kconfig to avoid this link error: + +drivers/hid/wacom_sys.o: In function `wacom_parse_and_register': +wacom_sys.c:(.text+0x2eec): undefined reference to `usb_hid_driver' + +Fixes: 09dc28acaec7 ("HID: wacom: Improve generic name generation") +Signed-off-by: Arnd Bergmann +Signed-off-by: Jiri Kosina +Cc: Jason Self +Signed-off-by: Greg Kroah-Hartman +--- + drivers/hid/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/hid/Kconfig ++++ b/drivers/hid/Kconfig +@@ -865,7 +865,7 @@ config THRUSTMASTER_FF + + config HID_WACOM + tristate "Wacom Intuos/Graphire tablet support (USB)" +- depends on HID ++ depends on USB_HID + select POWER_SUPPLY + select NEW_LEDS + select LEDS_CLASS diff --git a/queue-4.9/series b/queue-4.9/series index 4e987bc03f2..4190beee496 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -32,3 +32,4 @@ usb-serial-ch341-add-support-for-gw-instek-usb2.0-serial-devices.patch usb-serial-cp210x-add-ncr-retail-io-box-id.patch usb-serial-cp210x-add-cpi-bulk-coin-recycler-id.patch hwmon-dell-smm-speed-up-setting-of-fan-speed.patch +hid-wacom-add-usb_hid-dependency.patch