Commit 0a2e3706 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] USB input Kconfig updates

This tweaks the USB input driver support, notably fixing a botched
dependency that makes all the USB drivers appear strangely in Kconfig.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent a8ab1205
# #
# USB Input driver configuration # USB Input driver configuration
# #
comment "USB Human Interface Devices (HID)" comment "USB Input Devices"
depends on USB depends on USB
config USB_HID config USB_HID
...@@ -12,7 +12,8 @@ config USB_HID ...@@ -12,7 +12,8 @@ config USB_HID
mice, joysticks, graphic tablets, or any other HID based devices mice, joysticks, graphic tablets, or any other HID based devices
to your computer via USB. You also need to select HID Input layer to your computer via USB. You also need to select HID Input layer
support (below) if you want to use keyboards, mice, joysticks and support (below) if you want to use keyboards, mice, joysticks and
the like. the like ... as well as Uninterruptible Power Supply (UPS) and
monitor control devices.
You can't use this driver and the HIDBP (Boot Protocol) keyboard You can't use this driver and the HIDBP (Boot Protocol) keyboard
and mouse drivers at the same time. More information is available: and mouse drivers at the same time. More information is available:
...@@ -24,7 +25,7 @@ config USB_HID ...@@ -24,7 +25,7 @@ config USB_HID
module will be called usbhid. module will be called usbhid.
comment "Input core support is needed for USB HID input layer or HIDBP support" comment "Input core support is needed for USB HID input layer or HIDBP support"
depends on USB && INPUT=n depends on USB_HID && INPUT=n
config USB_HIDINPUT config USB_HIDINPUT
bool "HID input layer support" bool "HID input layer support"
...@@ -32,8 +33,7 @@ config USB_HIDINPUT ...@@ -32,8 +33,7 @@ config USB_HIDINPUT
depends on INPUT && USB_HID depends on INPUT && USB_HID
help help
Say Y here if you want to use a USB keyboard, mouse or joystick, Say Y here if you want to use a USB keyboard, mouse or joystick,
or any other HID input device. You also need "Input core support", or any other HID input device.
(CONFIG_INPUT), which you select under "Input device support", above.
If unsure, say Y. If unsure, say Y.
...@@ -87,7 +87,6 @@ config USB_HIDDEV ...@@ -87,7 +87,6 @@ config USB_HIDDEV
This module supports these devices separately using a separate This module supports these devices separately using a separate
event interface on /dev/usb/hiddevX (char 180:96 to 180:111). event interface on /dev/usb/hiddevX (char 180:96 to 180:111).
This driver requires CONFIG_USB_HID.
If unsure, say Y. If unsure, say Y.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment