Re: [GIT PATCH] HID patches for 2.6.19

From: Jiri Kosina
Date: Fri Dec 08 2006 - 16:34:39 EST


On Fri, 8 Dec 2006, Marcel Holtmann wrote:

> since we don't have any user-space or out of kernel HID transport
> drivers at the moment it would make sense to simply select HID if
> someone selects USB_HID or the upcoming Bluetooth transport.

OK, I agree. Something like this? (applies on top of previous patches,
or I could collapse all the Kconfig changes into one patch if desired)

Thanks.

[PATCH] Generic HID layer - build: USB_HID should select HID, not depend on it

Let CONFIG_USB_HID imply CONFIG_HID. Making it only dependent might confuse
users to choose CONFIG_HID, but no particular HID transport drivers.

Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>

---
commit a94cfd7aa1df1e89b058d6eaf347ce94cd10ba71
tree b11cb076d4528603c8c11220691801231d6236c8
parent 3ecbf35f6a6b45ecbf03002da8dd6fe030196ed3
author Jiri Kosina <jkosina@xxxxxxx> Fri, 08 Dec 2006 22:29:13 +0100
committer Jiri Kosina <jkosina@xxxxxxx> Fri, 08 Dec 2006 22:29:13 +0100

drivers/usb/input/Kconfig | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/input/Kconfig b/drivers/usb/input/Kconfig
index 8a62d47..e308f6d 100644
--- a/drivers/usb/input/Kconfig
+++ b/drivers/usb/input/Kconfig
@@ -7,7 +7,8 @@ comment "USB Input Devices"
config USB_HID
tristate "USB Human Interface Device (full HID) support"
default y
- depends on USB && HID
+ depends on USB
+ select HID
---help---
Say Y here if you want full HID support to connect USB keyboards,
mice, joysticks, graphic tablets, or any other HID based devices

--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/