提交 f3757cea 编写于 作者: B Benjamin Tissoires 提交者: Jiri Kosina

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: NBenjamin Tissoires <benjamin.tissoires@gmail.com>
Acked-by: NHenrik Rydberg <rydberg@euromail.se>
Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 3373443b
...@@ -92,7 +92,7 @@ menu "Special HID drivers" ...@@ -92,7 +92,7 @@ menu "Special HID drivers"
config HID_A4TECH config HID_A4TECH
tristate "A4 tech mice" if EXPERT tristate "A4 tech mice" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for A4 tech X5 and WOP-35 / Trust 450L mice. Support for A4 tech X5 and WOP-35 / Trust 450L mice.
...@@ -113,7 +113,7 @@ config HID_ACRUX_FF ...@@ -113,7 +113,7 @@ config HID_ACRUX_FF
config HID_APPLE config HID_APPLE
tristate "Apple {i,Power,Mac}Books" if EXPERT tristate "Apple {i,Power,Mac}Books" if EXPERT
depends on (USB_HID || BT_HIDP) depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for some Apple devices which less or more break Support for some Apple devices which less or more break
...@@ -124,27 +124,27 @@ config HID_APPLE ...@@ -124,27 +124,27 @@ config HID_APPLE
config HID_AUREAL config HID_AUREAL
tristate "Aureal" tristate "Aureal"
depends on USB_HID depends on HID
---help--- ---help---
Support for Aureal Cy se W-01RN Remote Controller and other Aureal derived remotes. Support for Aureal Cy se W-01RN Remote Controller and other Aureal derived remotes.
config HID_BELKIN config HID_BELKIN
tristate "Belkin Flip KVM and Wireless keyboard" if EXPERT tristate "Belkin Flip KVM and Wireless keyboard" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for Belkin Flip KVM and Wireless keyboard. Support for Belkin Flip KVM and Wireless keyboard.
config HID_CHERRY config HID_CHERRY
tristate "Cherry Cymotion keyboard" if EXPERT tristate "Cherry Cymotion keyboard" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for Cherry Cymotion keyboard. Support for Cherry Cymotion keyboard.
config HID_CHICONY config HID_CHICONY
tristate "Chicony Tactical pad" if EXPERT tristate "Chicony Tactical pad" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for Chicony Tactical pad. Support for Chicony Tactical pad.
...@@ -166,7 +166,7 @@ config HID_PRODIKEYS ...@@ -166,7 +166,7 @@ config HID_PRODIKEYS
config HID_CYPRESS config HID_CYPRESS
tristate "Cypress mouse and barcode readers" if EXPERT tristate "Cypress mouse and barcode readers" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for cypress mouse and barcode readers. Support for cypress mouse and barcode readers.
...@@ -202,13 +202,13 @@ config HID_EMS_FF ...@@ -202,13 +202,13 @@ config HID_EMS_FF
config HID_ELECOM config HID_ELECOM
tristate "ELECOM BM084 bluetooth mouse" tristate "ELECOM BM084 bluetooth mouse"
depends on BT_HIDP depends on HID
---help--- ---help---
Support for the ELECOM BM084 (bluetooth mouse). Support for the ELECOM BM084 (bluetooth mouse).
config HID_EZKEY config HID_EZKEY
tristate "Ezkey BTC 8193 keyboard" if EXPERT tristate "Ezkey BTC 8193 keyboard" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for Ezkey BTC 8193 keyboard. Support for Ezkey BTC 8193 keyboard.
...@@ -231,7 +231,7 @@ config HOLTEK_FF ...@@ -231,7 +231,7 @@ config HOLTEK_FF
config HID_KEYTOUCH config HID_KEYTOUCH
tristate "Keytouch HID devices" tristate "Keytouch HID devices"
depends on USB_HID depends on HID
---help--- ---help---
Support for Keytouch HID devices not fully compliant with Support for Keytouch HID devices not fully compliant with
the specification. Currently supported: the specification. Currently supported:
...@@ -249,25 +249,25 @@ config HID_KYE ...@@ -249,25 +249,25 @@ config HID_KYE
config HID_UCLOGIC config HID_UCLOGIC
tristate "UC-Logic" tristate "UC-Logic"
depends on USB_HID depends on HID
---help--- ---help---
Support for UC-Logic tablets. Support for UC-Logic tablets.
config HID_WALTOP config HID_WALTOP
tristate "Waltop" tristate "Waltop"
depends on USB_HID depends on HID
---help--- ---help---
Support for Waltop tablets. Support for Waltop tablets.
config HID_GYRATION config HID_GYRATION
tristate "Gyration remote control" tristate "Gyration remote control"
depends on USB_HID depends on HID
---help--- ---help---
Support for Gyration remote control. Support for Gyration remote control.
config HID_ICADE config HID_ICADE
tristate "ION iCade arcade controller" tristate "ION iCade arcade controller"
depends on BT_HIDP depends on HID
---help--- ---help---
Support for the ION iCade arcade controller to work as a joystick. Support for the ION iCade arcade controller to work as a joystick.
...@@ -276,20 +276,20 @@ config HID_ICADE ...@@ -276,20 +276,20 @@ config HID_ICADE
config HID_TWINHAN config HID_TWINHAN
tristate "Twinhan IR remote control" tristate "Twinhan IR remote control"
depends on USB_HID depends on HID
---help--- ---help---
Support for Twinhan IR remote control. Support for Twinhan IR remote control.
config HID_KENSINGTON config HID_KENSINGTON
tristate "Kensington Slimblade Trackball" if EXPERT tristate "Kensington Slimblade Trackball" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for Kensington Slimblade Trackball. Support for Kensington Slimblade Trackball.
config HID_LCPOWER config HID_LCPOWER
tristate "LC-Power" tristate "LC-Power"
depends on USB_HID depends on HID
---help--- ---help---
Support for LC-Power RC1000MCE RF remote control. Support for LC-Power RC1000MCE RF remote control.
...@@ -308,7 +308,7 @@ config HID_LENOVO_TPKBD ...@@ -308,7 +308,7 @@ config HID_LENOVO_TPKBD
config HID_LOGITECH config HID_LOGITECH
tristate "Logitech devices" if EXPERT tristate "Logitech devices" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for Logitech devices that are not fully compliant with HID standard. Support for Logitech devices that are not fully compliant with HID standard.
...@@ -374,7 +374,7 @@ config LOGIWHEELS_FF ...@@ -374,7 +374,7 @@ config LOGIWHEELS_FF
config HID_MAGICMOUSE config HID_MAGICMOUSE
tristate "Apple MagicMouse multi-touch support" tristate "Apple MagicMouse multi-touch support"
depends on BT_HIDP depends on HID
---help--- ---help---
Support for the Apple Magic Mouse multi-touch. Support for the Apple Magic Mouse multi-touch.
...@@ -383,14 +383,14 @@ config HID_MAGICMOUSE ...@@ -383,14 +383,14 @@ config HID_MAGICMOUSE
config HID_MICROSOFT config HID_MICROSOFT
tristate "Microsoft non-fully HID-compliant devices" if EXPERT tristate "Microsoft non-fully HID-compliant devices" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for Microsoft devices that are not fully compliant with HID standard. Support for Microsoft devices that are not fully compliant with HID standard.
config HID_MONTEREY config HID_MONTEREY
tristate "Monterey Genius KB29E keyboard" if EXPERT tristate "Monterey Genius KB29E keyboard" if EXPERT
depends on USB_HID depends on HID
default !EXPERT default !EXPERT
---help--- ---help---
Support for Monterey Genius KB29E. Support for Monterey Genius KB29E.
...@@ -445,7 +445,7 @@ config HID_NTRIG ...@@ -445,7 +445,7 @@ config HID_NTRIG
config HID_ORTEK config HID_ORTEK
tristate "Ortek PKB-1700/WKB-2000/Skycable wireless keyboard and mouse trackpad" tristate "Ortek PKB-1700/WKB-2000/Skycable wireless keyboard and mouse trackpad"
depends on USB_HID depends on HID
---help--- ---help---
There are certain devices which have LogicalMaximum wrong in the keyboard There are certain devices which have LogicalMaximum wrong in the keyboard
usage page of their report descriptor. The most prevailing ones so far usage page of their report descriptor. The most prevailing ones so far
...@@ -473,7 +473,7 @@ config PANTHERLORD_FF ...@@ -473,7 +473,7 @@ config PANTHERLORD_FF
config HID_PETALYNX config HID_PETALYNX
tristate "Petalynx Maxter remote control" tristate "Petalynx Maxter remote control"
depends on USB_HID depends on HID
---help--- ---help---
Support for Petalynx Maxter remote control. Support for Petalynx Maxter remote control.
...@@ -545,14 +545,14 @@ config HID_PICOLCD_CIR ...@@ -545,14 +545,14 @@ config HID_PICOLCD_CIR
config HID_PRIMAX config HID_PRIMAX
tristate "Primax non-fully HID-compliant devices" tristate "Primax non-fully HID-compliant devices"
depends on USB_HID depends on HID
---help--- ---help---
Support for Primax devices that are not fully compliant with the Support for Primax devices that are not fully compliant with the
HID standard. HID standard.
config HID_PS3REMOTE config HID_PS3REMOTE
tristate "Sony PS3 BD Remote Control" tristate "Sony PS3 BD Remote Control"
depends on BT_HIDP depends on HID
---help--- ---help---
Support for the Sony PS3 Blue-ray Disk Remote Control and Logitech Support for the Sony PS3 Blue-ray Disk Remote Control and Logitech
Harmony Adapter for PS3, which connect over Bluetooth. Harmony Adapter for PS3, which connect over Bluetooth.
...@@ -569,7 +569,7 @@ config HID_ROCCAT ...@@ -569,7 +569,7 @@ config HID_ROCCAT
config HID_SAITEK config HID_SAITEK
tristate "Saitek non-fully HID-compliant devices" tristate "Saitek non-fully HID-compliant devices"
depends on USB_HID depends on HID
---help--- ---help---
Support for Saitek devices that are not fully compliant with the Support for Saitek devices that are not fully compliant with the
HID standard. HID standard.
...@@ -578,7 +578,7 @@ config HID_SAITEK ...@@ -578,7 +578,7 @@ config HID_SAITEK
config HID_SAMSUNG config HID_SAMSUNG
tristate "Samsung InfraRed remote control or keyboards" tristate "Samsung InfraRed remote control or keyboards"
depends on USB_HID depends on HID
---help--- ---help---
Support for Samsung InfraRed remote control or keyboards. Support for Samsung InfraRed remote control or keyboards.
...@@ -604,7 +604,7 @@ config HID_STEELSERIES ...@@ -604,7 +604,7 @@ config HID_STEELSERIES
config HID_SUNPLUS config HID_SUNPLUS
tristate "Sunplus wireless desktop" tristate "Sunplus wireless desktop"
depends on USB_HID depends on HID
---help--- ---help---
Support for Sunplus wireless desktop. Support for Sunplus wireless desktop.
...@@ -650,20 +650,20 @@ config SMARTJOYPLUS_FF ...@@ -650,20 +650,20 @@ config SMARTJOYPLUS_FF
config HID_TIVO config HID_TIVO
tristate "TiVo Slide Bluetooth remote control support" tristate "TiVo Slide Bluetooth remote control support"
depends on (USB_HID || BT_HIDP) depends on HID
---help--- ---help---
Say Y if you have a TiVo Slide Bluetooth remote control. Say Y if you have a TiVo Slide Bluetooth remote control.
config HID_TOPSEED config HID_TOPSEED
tristate "TopSeed Cyberlink, BTC Emprex, Conceptronic remote control support" tristate "TopSeed Cyberlink, BTC Emprex, Conceptronic remote control support"
depends on USB_HID depends on HID
---help--- ---help---
Say Y if you have a TopSeed Cyberlink or BTC Emprex or Conceptronic Say Y if you have a TopSeed Cyberlink or BTC Emprex or Conceptronic
CLLRCMCE remote control. CLLRCMCE remote control.
config HID_THINGM config HID_THINGM
tristate "ThingM blink(1) USB RGB LED" tristate "ThingM blink(1) USB RGB LED"
depends on USB_HID depends on HID
depends on LEDS_CLASS depends on LEDS_CLASS
---help--- ---help---
Support for the ThingM blink(1) USB RGB LED. This driver registers a Support for the ThingM blink(1) USB RGB LED. This driver registers a
...@@ -689,7 +689,7 @@ config THRUSTMASTER_FF ...@@ -689,7 +689,7 @@ config THRUSTMASTER_FF
config HID_WACOM config HID_WACOM
tristate "Wacom Bluetooth devices support" tristate "Wacom Bluetooth devices support"
depends on BT_HIDP depends on HID
depends on LEDS_CLASS depends on LEDS_CLASS
select POWER_SUPPLY select POWER_SUPPLY
---help--- ---help---
...@@ -697,7 +697,7 @@ config HID_WACOM ...@@ -697,7 +697,7 @@ config HID_WACOM
config HID_WIIMOTE config HID_WIIMOTE
tristate "Nintendo Wii Remote support" tristate "Nintendo Wii Remote support"
depends on BT_HIDP depends on HID
depends on LEDS_CLASS depends on LEDS_CLASS
select POWER_SUPPLY select POWER_SUPPLY
select INPUT_FF_MEMLESS select INPUT_FF_MEMLESS
...@@ -729,7 +729,7 @@ config ZEROPLUS_FF ...@@ -729,7 +729,7 @@ config ZEROPLUS_FF
config HID_ZYDACRON config HID_ZYDACRON
tristate "Zydacron remote control support" tristate "Zydacron remote control support"
depends on USB_HID depends on HID
---help--- ---help---
Support for Zydacron remote control. Support for Zydacron remote control.
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <linux/hid.h> #include <linux/hid.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/usb.h>
#include "hid-ids.h" #include "hid-ids.h"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <linux/input/mt.h> #include <linux/input/mt.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/usb.h>
#include "hid-ids.h" #include "hid-ids.h"
......
...@@ -16,10 +16,8 @@ ...@@ -16,10 +16,8 @@
#include <linux/device.h> #include <linux/device.h>
#include <linux/hid.h> #include <linux/hid.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/usb.h>
#include "hid-ids.h" #include "hid-ids.h"
#include "usbhid/usbhid.h"
static const struct hid_device_id speedlink_devices[] = { static const struct hid_device_id speedlink_devices[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_X_TENSIONS, USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE)}, { HID_USB_DEVICE(USB_VENDOR_ID_X_TENSIONS, USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE)},
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <linux/hid.h> #include <linux/hid.h>
#include <linux/leds.h> #include <linux/leds.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/usb.h>
#include "hid-ids.h" #include "hid-ids.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册