Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] Generic HID layer - build

This modifies Makefiles and Kconfigs to properly reflect the creation of
generic HID layer.

It also removes the dependency of BROKEN, which was introduced by the
first patch in series (see the comment). Also updates credits.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Jiri Kosina and committed by
Greg Kroah-Hartman
63f3861d 4c2ae844

+51 -18
+8
CREDITS
··· 1808 1808 S: 1098 VA Amsterdam 1809 1809 S: The Netherlands 1810 1810 1811 + N: Jiri Kosina 1812 + E: jikos@jikos.cz 1813 + E: jkosina@suse.cz 1814 + D: Generic HID layer - original code split, fixes 1815 + D: Various ACPI fixes, keeping correct battery state through suspend 1816 + D: various lockdep annotations, autofs and other random bugfixes 1817 + S: Prague, Czech Republic 1818 + 1811 1819 N: Gene Kozin 1812 1820 E: 74604.152@compuserve.com 1813 1821 W: http://www.sangoma.com
+2
drivers/Kconfig
··· 64 64 65 65 source "sound/Kconfig" 66 66 67 + source "drivers/hid/Kconfig" 68 + 67 69 source "drivers/usb/Kconfig" 68 70 69 71 source "drivers/mmc/Kconfig"
+1
drivers/Makefile
··· 77 77 obj-$(CONFIG_SUPERH) += sh/ 78 78 obj-$(CONFIG_GENERIC_TIME) += clocksource/ 79 79 obj-$(CONFIG_DMA_ENGINE) += dma/ 80 + obj-$(CONFIG_HID) += hid/ 80 81 obj-$(CONFIG_PPC_PS3) += ps3/
+18
drivers/hid/Kconfig
··· 1 + # 2 + # HID driver configuration 3 + # 4 + menu "HID Devices" 5 + depends on INPUT 6 + 7 + config HID 8 + tristate "Generic HID support" 9 + default y 10 + ---help--- 11 + Say Y here if you want generic HID support to connect keyboards, 12 + mice, joysticks, graphic tablets, or any other HID based devices 13 + to your computer. You also need to select particular types of 14 + HID devices you want to compile support for, in the particular 15 + driver menu (USB, Bluetooth) 16 + 17 + endmenu 18 +
+15
drivers/hid/Makefile
··· 1 + # 2 + # Makefile for the HID driver 3 + # 4 + 5 + # Multipart objects. 6 + hid-objs := hid-core.o hid-input.o 7 + 8 + # Optional parts of multipart objects. 9 + 10 + obj-$(CONFIG_HID) += hid.o 11 + 12 + ifeq ($(CONFIG_INPUT_DEBUG),y) 13 + EXTRA_CFLAGS += -DDEBUG 14 + endif 15 +
+1
drivers/input/Makefile
··· 21 21 obj-$(CONFIG_INPUT_JOYSTICK) += joystick/ 22 22 obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/ 23 23 obj-$(CONFIG_INPUT_MISC) += misc/ 24 +
+6 -15
drivers/usb/input/Kconfig
··· 6 6 7 7 config USB_HID 8 8 tristate "USB Human Interface Device (full HID) support" 9 - depends on USB && BROKEN 9 + default y 10 + depends on USB && HID 10 11 ---help--- 11 - Say Y here if you want full HID support to connect keyboards, 12 + Say Y here if you want full HID support to connect USB keyboards, 12 13 mice, joysticks, graphic tablets, or any other HID based devices 13 14 to your computer via USB. You also need to select HID Input layer 14 15 support (below) if you want to use keyboards, mice, joysticks and ··· 28 27 comment "Input core support is needed for USB HID input layer or HIDBP support" 29 28 depends on USB_HID && INPUT=n 30 29 31 - config USB_HIDINPUT 32 - bool "HID input layer support" 33 - default y 34 - depends on INPUT && USB_HID 35 - help 36 - Say Y here if you want to use a USB keyboard, mouse or joystick, 37 - or any other HID input device. 38 - 39 - If unsure, say Y. 40 - 41 - config USB_HIDINPUT_POWERBOOK 30 + config USB_HID_POWERBOOK 42 31 bool "Enable support for iBook/PowerBook special keys" 43 32 default n 44 - depends on USB_HIDINPUT 33 + depends on USB_HID 45 34 help 46 35 Say Y here if you want support for the special keys (Fn, Numlock) on 47 36 Apple iBooks and PowerBooks. ··· 40 49 41 50 config HID_FF 42 51 bool "Force feedback support (EXPERIMENTAL)" 43 - depends on USB_HIDINPUT && EXPERIMENTAL 52 + depends on USB_HID && EXPERIMENTAL 44 53 help 45 54 Say Y here is you want force feedback support for a few HID devices. 46 55 See below for a list of supported devices.
-3
drivers/usb/input/Makefile
··· 11 11 ifeq ($(CONFIG_USB_HIDDEV),y) 12 12 usbhid-objs += hiddev.o 13 13 endif 14 - ifeq ($(CONFIG_USB_HIDINPUT),y) 15 - usbhid-objs += hid-input.o 16 - endif 17 14 ifeq ($(CONFIG_HID_PID),y) 18 15 usbhid-objs += hid-pidff.o 19 16 endif