Skip to content

Commit

Permalink
HID: wacom: add USB_HID dependency
Browse files Browse the repository at this point in the history
commit 9d14201 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: 09dc28a ("HID: wacom: Improve generic name generation")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Cc: Jason Self <jason@bluehome.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Arnd Bergmann authored and Greg Kroah-Hartman committed Feb 16, 2022
1 parent 96eef39 commit 47e529d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47e529d

Please sign in to comment.