HID: roccat: fix modules interdependencies

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, July 12, 2010 - 4:59 pm

Gitweb:     http://git.kernel.org/linus/fdd45ef44cfe84037f44ab386915b55c32a58bf7
Commit:     fdd45ef44cfe84037f44ab386915b55c32a58bf7
Parent:     67a3e12b05e055c0415c556a315a3d3eb637e29e
Author:     Randy Dunlap <randy.dunlap@oracle.com>
AuthorDate: Thu May 27 09:07:06 2010 -0700
Committer:  Jiri Kosina <jkosina@suse.cz>
CommitDate: Mon May 31 13:57:45 2010 +0200

    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>
---
 drivers/hid/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 132278f..4340993 100644
--- a/drivers/hid/Kconfig
+++ b/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.
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HID: roccat: fix modules interdependencies, Linux Kernel Mailing ..., (Mon Jul 12, 4:59 pm)