浏览代码

HID: roccat: chang Kconfig menu to submenu for roccat devices

As module roccat is needed by all devices, it's the toplevel
menu entry with all devices dependent.

Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Stefan Achatz 14 年之前
父节点
当前提交
303f272c1f
共有 1 个文件被更改,包括 7 次插入10 次删除
  1. 7 10
      drivers/hid/Kconfig

+ 7 - 10
drivers/hid/Kconfig

@@ -434,6 +434,7 @@ config HID_QUANTA
 config HID_ROCCAT
 config HID_ROCCAT
 	tristate "Roccat special event support"
 	tristate "Roccat special event support"
 	depends on USB_HID
 	depends on USB_HID
+	select HID_ROCCAT_COMMON
 	---help---
 	---help---
 	Support for Roccat special events.
 	Support for Roccat special events.
 	Say Y here if you have a Roccat mouse or keyboard and want OSD or
 	Say Y here if you have a Roccat mouse or keyboard and want OSD or
@@ -441,44 +442,40 @@ config HID_ROCCAT
 
 
 config HID_ROCCAT_COMMON
 config HID_ROCCAT_COMMON
 	tristate
 	tristate
+	depends on HID_ROCCAT
 
 
 config HID_ROCCAT_ARVO
 config HID_ROCCAT_ARVO
 	tristate "Roccat Arvo keyboard support"
 	tristate "Roccat Arvo keyboard support"
 	depends on USB_HID
 	depends on USB_HID
-	select HID_ROCCAT
-	select HID_ROCCAT_COMMON
+	depends on HID_ROCCAT
 	---help---
 	---help---
 	Support for Roccat Arvo keyboard.
 	Support for Roccat Arvo keyboard.
 
 
 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
-	select HID_ROCCAT_COMMON
+	depends on HID_ROCCAT
 	---help---
 	---help---
 	Support for Roccat Kone mouse.
 	Support for Roccat Kone mouse.
 
 
 config HID_ROCCAT_KONEPLUS
 config HID_ROCCAT_KONEPLUS
 	tristate "Roccat Kone[+] mouse support"
 	tristate "Roccat Kone[+] mouse support"
 	depends on USB_HID
 	depends on USB_HID
-	select HID_ROCCAT
-	select HID_ROCCAT_COMMON
+	depends on HID_ROCCAT
 	---help---
 	---help---
 	Support for Roccat Kone[+] mouse.
 	Support for Roccat Kone[+] mouse.
 
 
 config HID_ROCCAT_KOVAPLUS
 config HID_ROCCAT_KOVAPLUS
 	tristate "Roccat Kova[+] mouse support"
 	tristate "Roccat Kova[+] mouse support"
 	depends on USB_HID
 	depends on USB_HID
-	select HID_ROCCAT
-	select HID_ROCCAT_COMMON
+	depends on HID_ROCCAT
 	---help---
 	---help---
 	Support for Roccat Kova[+] mouse.
 	Support for Roccat Kova[+] mouse.
 
 
 config HID_ROCCAT_PYRA
 config HID_ROCCAT_PYRA
 	tristate "Roccat Pyra mouse support"
 	tristate "Roccat Pyra mouse support"
 	depends on USB_HID
 	depends on USB_HID
-	select HID_ROCCAT
-	select HID_ROCCAT_COMMON
+	depends on HID_ROCCAT
 	---help---
 	---help---
 	Support for Roccat Pyra mouse.
 	Support for Roccat Pyra mouse.