[PATCH -next] hid: roccat modules interdependencies

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Thursday, May 27, 2010 - 9:07 am

From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
 drivers/hid/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20100527.orig/drivers/hid/Kconfig
+++ linux-next-20100527/drivers/hid/Kconfig
@@ -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.
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for May 27, Stephen Rothwell, (Wed May 26, 10:26 pm)
Re: linux-next: Tree for May 27 (infiniband: qib), Randy Dunlap, (Thu May 27, 9:05 am)
[PATCH -next] hid: roccat modules interdependencies, Randy Dunlap, (Thu May 27, 9:07 am)
Re: linux-next: Tree for May 27 (infiniband: qib), Roland Dreier, (Thu May 27, 2:45 pm)
Re: linux-next: Tree for May 27 (infiniband: qib), Randy Dunlap, (Thu May 27, 3:06 pm)
Re: linux-next: Tree for May 27 (infiniband: qib), Ralph Campbell, (Thu May 27, 3:22 pm)