[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 <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Jiri Kosina 2006-12-08 18:41:30 +01:00 • committed by Greg Kroah-Hartman
commit 63f3861d2f
8 changed files with 51 additions and 18 deletions

18
drivers/hid/Kconfig Normal file
View file

@ -0,0 +1,18 @@
#
# HID driver configuration
#
menu "HID Devices"
depends on INPUT
config HID
tristate "Generic HID support"
default y
---help---
Say Y here if you want generic HID support to connect keyboards,
mice, joysticks, graphic tablets, or any other HID based devices
to your computer. You also need to select particular types of
HID devices you want to compile support for, in the particular
driver menu (USB, Bluetooth)
endmenu

15
drivers/hid/Makefile Normal file
View file

@ -0,0 +1,15 @@
#
# Makefile for the HID driver
#
# Multipart objects.
hid-objs := hid-core.o hid-input.o
# Optional parts of multipart objects.
obj-$(CONFIG_HID) += hid.o
ifeq ($(CONFIG_INPUT_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif