OSDN Git Service

missing dependencies for USB drivers in input
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 15 May 2007 19:36:20 +0000 (20:36 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 16 May 2007 01:56:37 +0000 (18:56 -0700)
stuff that does select USB should depend on USB_ARCH_HAS_HCD, or we'll
end up with unbuildable configs.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/input/joystick/Kconfig
drivers/input/misc/Kconfig
drivers/input/mouse/Kconfig
drivers/input/tablet/Kconfig
drivers/input/touchscreen/Kconfig

index 82f563e..b002345 100644 (file)
@@ -255,6 +255,7 @@ config JOYSTICK_JOYDUMP
 
 config JOYSTICK_XPAD
        tristate "X-Box gamepad support"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use the X-Box pad with your computer.
index 6013ace..842a7b4 100644 (file)
@@ -84,6 +84,7 @@ config INPUT_ATLAS_BTNS
 
 config INPUT_ATI_REMOTE
        tristate "ATI / X10 USB RF remote control"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use an ATI or X10 "Lola" USB remote control.
@@ -99,6 +100,7 @@ config INPUT_ATI_REMOTE
 
 config INPUT_ATI_REMOTE2
        tristate "ATI / Philips USB RF remote control"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use an ATI or Philips USB RF remote control.
@@ -114,6 +116,7 @@ config INPUT_ATI_REMOTE2
 config INPUT_KEYSPAN_REMOTE
        tristate "Keyspan DMR USB remote control (EXPERIMENTAL)"
        depends on EXPERIMENTAL
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use a Keyspan DMR USB remote control.
@@ -128,6 +131,7 @@ config INPUT_KEYSPAN_REMOTE
 
 config INPUT_POWERMATE
        tristate "Griffin PowerMate and Contour Jog support"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use Griffin PowerMate or Contour Jog devices.
@@ -144,6 +148,7 @@ config INPUT_POWERMATE
 config INPUT_YEALINK
        tristate "Yealink usb-p1k voip phone"
        depends EXPERIMENTAL
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to enable keyboard and LCD functions of the
index 2ccc114..eb0167e 100644 (file)
@@ -111,6 +111,7 @@ config MOUSE_SERIAL
 
 config MOUSE_APPLETOUCH
        tristate "Apple USB Touchpad support"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use an Apple USB Touchpad.
index 12dfb0e..d371c0b 100644 (file)
@@ -13,6 +13,7 @@ if INPUT_TABLET
 
 config TABLET_USB_ACECAD
        tristate "Acecad Flair tablet support (USB)"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use the USB version of the Acecad Flair
@@ -25,6 +26,7 @@ config TABLET_USB_ACECAD
 
 config TABLET_USB_AIPTEK
        tristate "Aiptek 6000U/8000U tablet support (USB)"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use the USB version of the Aiptek 6000U
@@ -49,6 +51,7 @@ config TABLET_USB_GTCO
 
 config TABLET_USB_KBTAB
        tristate "KB Gear JamStudio tablet support (USB)"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use the USB version of the KB Gear
@@ -61,6 +64,7 @@ config TABLET_USB_KBTAB
 
 config TABLET_USB_WACOM
        tristate "Wacom Intuos/Graphire tablet support (USB)"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          Say Y here if you want to use the USB version of the Wacom Intuos
index 5e640ae..4f09180 100644 (file)
@@ -166,6 +166,7 @@ config TOUCHSCREEN_UCB1400
 
 config TOUCHSCREEN_USB_COMPOSITE
        tristate "USB Touchscreen Driver"
+       depends on USB_ARCH_HAS_HCD
        select USB
        help
          USB Touchscreen driver for: