linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HID: wacom: add USB_HID dependency
@ 2017-07-28 13:18 Arnd Bergmann
  2017-07-28 14:07 ` Jason Gerecke
  0 siblings, 1 reply; 7+ messages in thread
From: Arnd Bergmann @ 2017-07-28 13:18 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Jason Gerecke, Benjamin Tissoires, Arnd Bergmann, linux-input,
	linux-kernel

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 <arnd@arndb.de>
---
 drivers/hid/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 3cd60f460b61..0a3117cc29e7 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -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
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-01  9:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28 13:18 [PATCH] HID: wacom: add USB_HID dependency Arnd Bergmann
2017-07-28 14:07 ` Jason Gerecke
2017-07-28 14:18   ` Arnd Bergmann
2017-07-28 14:24     ` Jason Gerecke
2017-07-28 14:29       ` Arnd Bergmann
2017-07-28 15:15         ` Jason Gerecke
2017-08-01  9:21           ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).