hid: add opt_hid.h to modules that use HID_DEBUG

Submitted by:	Greg V <greg_AT_unrelenting_DOT_technology>
Reviewed by:	imp, wulf
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D28995
This commit is contained in:
Vladimir Kondratyev 2021-03-04 01:21:15 +03:00
parent 49f6925ca3
commit 6241b57131
5 changed files with 6 additions and 1 deletions

View File

@ -34,6 +34,8 @@ __FBSDID("$FreeBSD$");
* https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-precision-touchpad-required-hid-top-level-collections
*/
#include "opt_hid.h"
#include <sys/param.h>
#include <sys/bus.h>
#include <sys/kernel.h>

View File

@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$");
* HID spec: http://www.usb.org/developers/devclass_docs/HID1_11.pdf
*/
#include "opt_hid.h"
#include "opt_kbd.h"
#include "opt_hkbd.h"
#include "opt_evdev.h"

View File

@ -4,6 +4,7 @@
KMOD= hconf
SRCS= hconf.c
SRCS+= opt_hid.h
SRCS+= bus_if.h device_if.h
.include <bsd.kmod.mk>

View File

@ -4,7 +4,7 @@
KMOD= hkbd
SRCS= hkbd.c
SRCS+= opt_evdev.h opt_kbd.h opt_hkbd.h
SRCS+= opt_hid.h opt_evdev.h opt_kbd.h opt_hkbd.h
SRCS+= bus_if.h device_if.h
.include <bsd.kmod.mk>

View File

@ -4,6 +4,7 @@
KMOD= ps4dshock
SRCS= ps4dshock.c
SRCS+= opt_hid.h
SRCS+= bus_if.h device_if.h usbdevs.h
.include <bsd.kmod.mk>