浏览代码

HID: roccat: fix modules interdependencies

hid-roccat-kone calls the hid-roccat module interfaces,
so the former should depend on or select the latter to prevent
build errors, like:

hid-roccat-kone.c:(.text+0x133ed2): undefined reference to `roccat_report_event'
hid-roccat-kone.c:(.text+0x133fa8): undefined reference to `roccat_disconnect'
hid-roccat-kone.c:(.text+0x1353be): undefined reference to `roccat_connect'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Randy Dunlap 15 年之前
父节点
当前提交
fdd45ef44c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/hid/Kconfig

+ 1 - 0
drivers/hid/Kconfig

@@ -358,6 +358,7 @@ config HID_ROCCAT
 config HID_ROCCAT_KONE
 config HID_ROCCAT_KONE
 	tristate "Roccat Kone Mouse support"
 	tristate "Roccat Kone Mouse support"
 	depends on USB_HID
 	depends on USB_HID
+	select HID_ROCCAT
 	---help---
 	---help---
 	Support for Roccat Kone mouse.
 	Support for Roccat Kone mouse.