HID: roccat: fix modules interdependencies
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 27 May 2010 16:07:06 +0000 (09:07 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 31 May 2010 11:57:45 +0000 (13:57 +0200)
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>
drivers/hid/Kconfig

index 132278fa624042e84e1f44ff947808c0b7df79ac..434099369058ad42e72d5ba1de85ae2ed6445de9 100644 (file)
@@ -358,6 +358,7 @@ config HID_ROCCAT
 config HID_ROCCAT_KONE
        tristate "Roccat Kone Mouse support"
        depends on USB_HID
+       select HID_ROCCAT
        ---help---
        Support for Roccat Kone mouse.