aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>2013-02-25 05:31:45 -0500
committerJiri Kosina <jkosina@suse.cz>2013-02-25 07:26:40 -0500
commitf3757cea18fadce23c95a4c4bc3123af73a95e65 (patch)
tree64082da4ddcf919eed297611662343bd5d40e5c8
parent3373443befa73ee60e4275e7699b26058b01455a (diff)
HID: Kconfig: Remove explicit transport layer dependencies
Most HID drivers (rightfully) only depend on the HID bus, not the specific transport layer. Remove such dependencies where applicable. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Acked-by: Henrik Rydberg <rydberg@euromail.se> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/Kconfig68
-rw-r--r--drivers/hid/hid-apple.c1
-rw-r--r--drivers/hid/hid-magicmouse.c1
-rw-r--r--drivers/hid/hid-speedlink.c2
-rw-r--r--drivers/hid/hid-thingm.c1
5 files changed, 34 insertions, 39 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 5f07d85c4189..1b737b44c56e 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -92,7 +92,7 @@ menu "Special HID drivers"
92 92
93config HID_A4TECH 93config HID_A4TECH
94 tristate "A4 tech mice" if EXPERT 94 tristate "A4 tech mice" if EXPERT
95 depends on USB_HID 95 depends on HID
96 default !EXPERT 96 default !EXPERT
97 ---help--- 97 ---help---
98 Support for A4 tech X5 and WOP-35 / Trust 450L mice. 98 Support for A4 tech X5 and WOP-35 / Trust 450L mice.
@@ -113,7 +113,7 @@ config HID_ACRUX_FF
113 113
114config HID_APPLE 114config HID_APPLE
115 tristate "Apple {i,Power,Mac}Books" if EXPERT 115 tristate "Apple {i,Power,Mac}Books" if EXPERT
116 depends on (USB_HID || BT_HIDP) 116 depends on HID
117 default !EXPERT 117 default !EXPERT
118 ---help--- 118 ---help---
119 Support for some Apple devices which less or more break 119 Support for some Apple devices which less or more break
@@ -124,27 +124,27 @@ config HID_APPLE
124 124
125config HID_AUREAL 125config HID_AUREAL
126 tristate "Aureal" 126 tristate "Aureal"
127 depends on USB_HID 127 depends on HID
128 ---help--- 128 ---help---
129 Support for Aureal Cy se W-01RN Remote Controller and other Aureal derived remotes. 129 Support for Aureal Cy se W-01RN Remote Controller and other Aureal derived remotes.
130 130
131config HID_BELKIN 131config HID_BELKIN
132 tristate "Belkin Flip KVM and Wireless keyboard" if EXPERT 132 tristate "Belkin Flip KVM and Wireless keyboard" if EXPERT
133 depends on USB_HID 133 depends on HID
134 default !EXPERT 134 default !EXPERT
135 ---help--- 135 ---help---
136 Support for Belkin Flip KVM and Wireless keyboard. 136 Support for Belkin Flip KVM and Wireless keyboard.
137 137
138config HID_CHERRY 138config HID_CHERRY
139 tristate "Cherry Cymotion keyboard" if EXPERT 139 tristate "Cherry Cymotion keyboard" if EXPERT
140 depends on USB_HID 140 depends on HID
141 default !EXPERT 141 default !EXPERT
142 ---help--- 142 ---help---
143 Support for Cherry Cymotion keyboard. 143 Support for Cherry Cymotion keyboard.
144 144
145config HID_CHICONY 145config HID_CHICONY
146 tristate "Chicony Tactical pad" if EXPERT 146 tristate "Chicony Tactical pad" if EXPERT
147 depends on USB_HID 147 depends on HID
148 default !EXPERT 148 default !EXPERT
149 ---help--- 149 ---help---
150 Support for Chicony Tactical pad. 150 Support for Chicony Tactical pad.
@@ -166,7 +166,7 @@ config HID_PRODIKEYS
166 166
167config HID_CYPRESS 167config HID_CYPRESS
168 tristate "Cypress mouse and barcode readers" if EXPERT 168 tristate "Cypress mouse and barcode readers" if EXPERT
169 depends on USB_HID 169 depends on HID
170 default !EXPERT 170 default !EXPERT
171 ---help--- 171 ---help---
172 Support for cypress mouse and barcode readers. 172 Support for cypress mouse and barcode readers.
@@ -202,13 +202,13 @@ config HID_EMS_FF
202 202
203config HID_ELECOM 203config HID_ELECOM
204 tristate "ELECOM BM084 bluetooth mouse" 204 tristate "ELECOM BM084 bluetooth mouse"
205 depends on BT_HIDP 205 depends on HID
206 ---help--- 206 ---help---
207 Support for the ELECOM BM084 (bluetooth mouse). 207 Support for the ELECOM BM084 (bluetooth mouse).
208 208
209config HID_EZKEY 209config HID_EZKEY
210 tristate "Ezkey BTC 8193 keyboard" if EXPERT 210 tristate "Ezkey BTC 8193 keyboard" if EXPERT
211 depends on USB_HID 211 depends on HID
212 default !EXPERT 212 default !EXPERT
213 ---help--- 213 ---help---
214 Support for Ezkey BTC 8193 keyboard. 214 Support for Ezkey BTC 8193 keyboard.
@@ -231,7 +231,7 @@ config HOLTEK_FF
231 231
232config HID_KEYTOUCH 232config HID_KEYTOUCH
233 tristate "Keytouch HID devices" 233 tristate "Keytouch HID devices"
234 depends on USB_HID 234 depends on HID
235 ---help--- 235 ---help---
236 Support for Keytouch HID devices not fully compliant with 236 Support for Keytouch HID devices not fully compliant with
237 the specification. Currently supported: 237 the specification. Currently supported:
@@ -249,25 +249,25 @@ config HID_KYE
249 249
250config HID_UCLOGIC 250config HID_UCLOGIC
251 tristate "UC-Logic" 251 tristate "UC-Logic"
252 depends on USB_HID 252 depends on HID
253 ---help--- 253 ---help---
254 Support for UC-Logic tablets. 254 Support for UC-Logic tablets.
255 255
256config HID_WALTOP 256config HID_WALTOP
257 tristate "Waltop" 257 tristate "Waltop"
258 depends on USB_HID 258 depends on HID
259 ---help--- 259 ---help---
260 Support for Waltop tablets. 260 Support for Waltop tablets.
261 261
262config HID_GYRATION 262config HID_GYRATION
263 tristate "Gyration remote control" 263 tristate "Gyration remote control"
264 depends on USB_HID 264 depends on HID
265 ---help--- 265 ---help---
266 Support for Gyration remote control. 266 Support for Gyration remote control.
267 267
268config HID_ICADE 268config HID_ICADE
269 tristate "ION iCade arcade controller" 269 tristate "ION iCade arcade controller"
270 depends on BT_HIDP 270 depends on HID
271 ---help--- 271 ---help---
272 Support for the ION iCade arcade controller to work as a joystick. 272 Support for the ION iCade arcade controller to work as a joystick.
273 273
@@ -276,20 +276,20 @@ config HID_ICADE
276 276
277config HID_TWINHAN 277config HID_TWINHAN
278 tristate "Twinhan IR remote control" 278 tristate "Twinhan IR remote control"
279 depends on USB_HID 279 depends on HID
280 ---help--- 280 ---help---
281 Support for Twinhan IR remote control. 281 Support for Twinhan IR remote control.
282 282
283config HID_KENSINGTON 283config HID_KENSINGTON
284 tristate "Kensington Slimblade Trackball" if EXPERT 284 tristate "Kensington Slimblade Trackball" if EXPERT
285 depends on USB_HID 285 depends on HID
286 default !EXPERT 286 default !EXPERT
287 ---help--- 287 ---help---
288 Support for Kensington Slimblade Trackball. 288 Support for Kensington Slimblade Trackball.
289 289
290config HID_LCPOWER 290config HID_LCPOWER
291 tristate "LC-Power" 291 tristate "LC-Power"
292 depends on USB_HID 292 depends on HID
293 ---help--- 293 ---help---
294 Support for LC-Power RC1000MCE RF remote control. 294 Support for LC-Power RC1000MCE RF remote control.
295 295
@@ -308,7 +308,7 @@ config HID_LENOVO_TPKBD
308 308
309config HID_LOGITECH 309config HID_LOGITECH
310 tristate "Logitech devices" if EXPERT 310 tristate "Logitech devices" if EXPERT
311 depends on USB_HID 311 depends on HID
312 default !EXPERT 312 default !EXPERT
313 ---help--- 313 ---help---
314 Support for Logitech devices that are not fully compliant with HID standard. 314 Support for Logitech devices that are not fully compliant with HID standard.
@@ -374,7 +374,7 @@ config LOGIWHEELS_FF
374 374
375config HID_MAGICMOUSE 375config HID_MAGICMOUSE
376 tristate "Apple MagicMouse multi-touch support" 376 tristate "Apple MagicMouse multi-touch support"
377 depends on BT_HIDP 377 depends on HID
378 ---help--- 378 ---help---
379 Support for the Apple Magic Mouse multi-touch. 379 Support for the Apple Magic Mouse multi-touch.
380 380
@@ -383,14 +383,14 @@ config HID_MAGICMOUSE
383 383
384config HID_MICROSOFT 384config HID_MICROSOFT
385 tristate "Microsoft non-fully HID-compliant devices" if EXPERT 385 tristate "Microsoft non-fully HID-compliant devices" if EXPERT
386 depends on USB_HID 386 depends on HID
387 default !EXPERT 387 default !EXPERT
388 ---help--- 388 ---help---
389 Support for Microsoft devices that are not fully compliant with HID standard. 389 Support for Microsoft devices that are not fully compliant with HID standard.
390 390
391config HID_MONTEREY 391config HID_MONTEREY
392 tristate "Monterey Genius KB29E keyboard" if EXPERT 392 tristate "Monterey Genius KB29E keyboard" if EXPERT
393 depends on USB_HID 393 depends on HID
394 default !EXPERT 394 default !EXPERT
395 ---help--- 395 ---help---
396 Support for Monterey Genius KB29E. 396 Support for Monterey Genius KB29E.
@@ -445,7 +445,7 @@ config HID_NTRIG
445 445
446config HID_ORTEK 446config HID_ORTEK
447 tristate "Ortek PKB-1700/WKB-2000/Skycable wireless keyboard and mouse trackpad" 447 tristate "Ortek PKB-1700/WKB-2000/Skycable wireless keyboard and mouse trackpad"
448 depends on USB_HID 448 depends on HID
449 ---help--- 449 ---help---
450 There are certain devices which have LogicalMaximum wrong in the keyboard 450 There are certain devices which have LogicalMaximum wrong in the keyboard
451 usage page of their report descriptor. The most prevailing ones so far 451 usage page of their report descriptor. The most prevailing ones so far
@@ -473,7 +473,7 @@ config PANTHERLORD_FF
473 473
474config HID_PETALYNX 474config HID_PETALYNX
475 tristate "Petalynx Maxter remote control" 475 tristate "Petalynx Maxter remote control"
476 depends on USB_HID 476 depends on HID
477 ---help--- 477 ---help---
478 Support for Petalynx Maxter remote control. 478 Support for Petalynx Maxter remote control.
479 479
@@ -545,14 +545,14 @@ config HID_PICOLCD_CIR
545 545
546config HID_PRIMAX 546config HID_PRIMAX
547 tristate "Primax non-fully HID-compliant devices" 547 tristate "Primax non-fully HID-compliant devices"
548 depends on USB_HID 548 depends on HID
549 ---help--- 549 ---help---
550 Support for Primax devices that are not fully compliant with the 550 Support for Primax devices that are not fully compliant with the
551 HID standard. 551 HID standard.
552 552
553config HID_PS3REMOTE 553config HID_PS3REMOTE
554 tristate "Sony PS3 BD Remote Control" 554 tristate "Sony PS3 BD Remote Control"
555 depends on BT_HIDP 555 depends on HID
556 ---help--- 556 ---help---
557 Support for the Sony PS3 Blue-ray Disk Remote Control and Logitech 557 Support for the Sony PS3 Blue-ray Disk Remote Control and Logitech
558 Harmony Adapter for PS3, which connect over Bluetooth. 558 Harmony Adapter for PS3, which connect over Bluetooth.
@@ -569,7 +569,7 @@ config HID_ROCCAT
569 569
570config HID_SAITEK 570config HID_SAITEK
571 tristate "Saitek non-fully HID-compliant devices" 571 tristate "Saitek non-fully HID-compliant devices"
572 depends on USB_HID 572 depends on HID
573 ---help--- 573 ---help---
574 Support for Saitek devices that are not fully compliant with the 574 Support for Saitek devices that are not fully compliant with the
575 HID standard. 575 HID standard.
@@ -578,7 +578,7 @@ config HID_SAITEK
578 578
579config HID_SAMSUNG 579config HID_SAMSUNG
580 tristate "Samsung InfraRed remote control or keyboards" 580 tristate "Samsung InfraRed remote control or keyboards"
581 depends on USB_HID 581 depends on HID
582 ---help--- 582 ---help---
583 Support for Samsung InfraRed remote control or keyboards. 583 Support for Samsung InfraRed remote control or keyboards.
584 584
@@ -604,7 +604,7 @@ config HID_STEELSERIES
604 604
605config HID_SUNPLUS 605config HID_SUNPLUS
606 tristate "Sunplus wireless desktop" 606 tristate "Sunplus wireless desktop"
607 depends on USB_HID 607 depends on HID
608 ---help--- 608 ---help---
609 Support for Sunplus wireless desktop. 609 Support for Sunplus wireless desktop.
610 610
@@ -650,20 +650,20 @@ config SMARTJOYPLUS_FF
650 650
651config HID_TIVO 651config HID_TIVO
652 tristate "TiVo Slide Bluetooth remote control support" 652 tristate "TiVo Slide Bluetooth remote control support"
653 depends on (USB_HID || BT_HIDP) 653 depends on HID
654 ---help--- 654 ---help---
655 Say Y if you have a TiVo Slide Bluetooth remote control. 655 Say Y if you have a TiVo Slide Bluetooth remote control.
656 656
657config HID_TOPSEED 657config HID_TOPSEED
658 tristate "TopSeed Cyberlink, BTC Emprex, Conceptronic remote control support" 658 tristate "TopSeed Cyberlink, BTC Emprex, Conceptronic remote control support"
659 depends on USB_HID 659 depends on HID
660 ---help--- 660 ---help---
661 Say Y if you have a TopSeed Cyberlink or BTC Emprex or Conceptronic 661 Say Y if you have a TopSeed Cyberlink or BTC Emprex or Conceptronic
662 CLLRCMCE remote control. 662 CLLRCMCE remote control.
663 663
664config HID_THINGM 664config HID_THINGM
665 tristate "ThingM blink(1) USB RGB LED" 665 tristate "ThingM blink(1) USB RGB LED"
666 depends on USB_HID 666 depends on HID
667 depends on LEDS_CLASS 667 depends on LEDS_CLASS
668 ---help--- 668 ---help---
669 Support for the ThingM blink(1) USB RGB LED. This driver registers a 669 Support for the ThingM blink(1) USB RGB LED. This driver registers a
@@ -689,7 +689,7 @@ config THRUSTMASTER_FF
689 689
690config HID_WACOM 690config HID_WACOM
691 tristate "Wacom Bluetooth devices support" 691 tristate "Wacom Bluetooth devices support"
692 depends on BT_HIDP 692 depends on HID
693 depends on LEDS_CLASS 693 depends on LEDS_CLASS
694 select POWER_SUPPLY 694 select POWER_SUPPLY
695 ---help--- 695 ---help---
@@ -697,7 +697,7 @@ config HID_WACOM
697 697
698config HID_WIIMOTE 698config HID_WIIMOTE
699 tristate "Nintendo Wii Remote support" 699 tristate "Nintendo Wii Remote support"
700 depends on BT_HIDP 700 depends on HID
701 depends on LEDS_CLASS 701 depends on LEDS_CLASS
702 select POWER_SUPPLY 702 select POWER_SUPPLY
703 select INPUT_FF_MEMLESS 703 select INPUT_FF_MEMLESS
@@ -729,7 +729,7 @@ config ZEROPLUS_FF
729 729
730config HID_ZYDACRON 730config HID_ZYDACRON
731 tristate "Zydacron remote control support" 731 tristate "Zydacron remote control support"
732 depends on USB_HID 732 depends on HID
733 ---help--- 733 ---help---
734 Support for Zydacron remote control. 734 Support for Zydacron remote control.
735 735
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index 320a958d4139..9e0c4fbbb840 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -21,7 +21,6 @@
21#include <linux/hid.h> 21#include <linux/hid.h>
22#include <linux/module.h> 22#include <linux/module.h>
23#include <linux/slab.h> 23#include <linux/slab.h>
24#include <linux/usb.h>
25 24
26#include "hid-ids.h" 25#include "hid-ids.h"
27 26
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
index f7f113ba083e..ef89573d65fc 100644
--- a/drivers/hid/hid-magicmouse.c
+++ b/drivers/hid/hid-magicmouse.c
@@ -19,7 +19,6 @@
19#include <linux/input/mt.h> 19#include <linux/input/mt.h>
20#include <linux/module.h> 20#include <linux/module.h>
21#include <linux/slab.h> 21#include <linux/slab.h>
22#include <linux/usb.h>
23 22
24#include "hid-ids.h" 23#include "hid-ids.h"
25 24
diff --git a/drivers/hid/hid-speedlink.c b/drivers/hid/hid-speedlink.c
index e94371a059cb..a2f587d004e1 100644
--- a/drivers/hid/hid-speedlink.c
+++ b/drivers/hid/hid-speedlink.c
@@ -16,10 +16,8 @@
16#include <linux/device.h> 16#include <linux/device.h>
17#include <linux/hid.h> 17#include <linux/hid.h>
18#include <linux/module.h> 18#include <linux/module.h>
19#include <linux/usb.h>
20 19
21#include "hid-ids.h" 20#include "hid-ids.h"
22#include "usbhid/usbhid.h"
23 21
24static const struct hid_device_id speedlink_devices[] = { 22static const struct hid_device_id speedlink_devices[] = {
25 { HID_USB_DEVICE(USB_VENDOR_ID_X_TENSIONS, USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE)}, 23 { HID_USB_DEVICE(USB_VENDOR_ID_X_TENSIONS, USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE)},
diff --git a/drivers/hid/hid-thingm.c b/drivers/hid/hid-thingm.c
index 2055a52e9a20..99342cfa0ea2 100644
--- a/drivers/hid/hid-thingm.c
+++ b/drivers/hid/hid-thingm.c
@@ -12,7 +12,6 @@
12#include <linux/hid.h> 12#include <linux/hid.h>
13#include <linux/leds.h> 13#include <linux/leds.h>
14#include <linux/module.h> 14#include <linux/module.h>
15#include <linux/usb.h>
16 15
17#include "hid-ids.h" 16#include "hid-ids.h"
18 17