mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 23:06:42 +07:00
c080d89ad9
hid-debug.h contains a lot of code, and should not therefore be a header. This patch moves the code to generic hid layer as .c source, and introduces CONFIG_HID_DEBUG to conditionally compile it, instead of playing with #define DEBUG and including hid-debug.h. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
#
|
|
# HID driver configuration
|
|
#
|
|
menu "HID Devices"
|
|
depends on INPUT
|
|
|
|
config HID
|
|
tristate "Generic HID support"
|
|
depends on INPUT
|
|
default y
|
|
---help---
|
|
A human interface device (HID) is a type of computer device that
|
|
interacts directly with and takes input from humans. The term "HID"
|
|
most commonly used to refer to the USB-HID specification, but other
|
|
devices (such as, but not strictly limited to, Bluetooth) are
|
|
designed using HID specification (this involves certain keyboards,
|
|
mice, tablets, etc). This option compiles into kernel the generic
|
|
HID layer code (parser, usages, etc.), which can then be used by
|
|
transport-specific HID implementation (like USB or Bluetooth).
|
|
|
|
For docs and specs, see http://www.usb.org/developers/hidpage/
|
|
|
|
If unsure, say Y
|
|
|
|
config HID_DEBUG
|
|
bool "HID debugging support"
|
|
depends on HID
|
|
---help---
|
|
This option lets the HID layer output diagnostics about its internal
|
|
state, resolve HID usages, dump HID fields, etc. Individual HID drivers
|
|
use this debugging facility to output information about individual HID
|
|
devices, etc.
|
|
|
|
This feature is useful for those who are either debugging the HID parser
|
|
or any HID hardware device.
|
|
|
|
If unsure, say N
|
|
|
|
endmenu
|
|
|