Skip to content

Commit

Permalink
HID: wacom: add USB_HID dependency
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
arndb authored and Jiri Kosina committed Aug 1, 2017
1 parent 09dc28a commit 9d14201
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 @@ -924,7 +924,7 @@ config HID_UDRAW_PS3

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 9d14201

Please sign in to comment.