mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Paul Walmsley](/assets/img/avatar_default.png)
Move the USB_VENDOR* and USB_DEVICE* defines and the hid_blacklist[] array there from hid-core.c. Add hid-quirks.c:usbhid_lookup_any_quirks() to return quirk information to hid-core.c. Convert __u32, __u16 types to u32, u16. Signed-off-by: Paul Walmsley <paul@booyaka.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
35 lines
696 B
Makefile
35 lines
696 B
Makefile
#
|
|
# Makefile for the USB input drivers
|
|
#
|
|
|
|
# Multipart objects.
|
|
usbhid-objs := hid-core.o hid-quirks.o
|
|
|
|
# Optional parts of multipart objects.
|
|
|
|
ifeq ($(CONFIG_USB_HIDDEV),y)
|
|
usbhid-objs += hiddev.o
|
|
endif
|
|
ifeq ($(CONFIG_HID_PID),y)
|
|
usbhid-objs += hid-pidff.o
|
|
endif
|
|
ifeq ($(CONFIG_LOGITECH_FF),y)
|
|
usbhid-objs += hid-lgff.o
|
|
endif
|
|
ifeq ($(CONFIG_PANTHERLORD_FF),y)
|
|
usbhid-objs += hid-plff.o
|
|
endif
|
|
ifeq ($(CONFIG_THRUSTMASTER_FF),y)
|
|
usbhid-objs += hid-tmff.o
|
|
endif
|
|
ifeq ($(CONFIG_ZEROPLUS_FF),y)
|
|
usbhid-objs += hid-zpff.o
|
|
endif
|
|
ifeq ($(CONFIG_HID_FF),y)
|
|
usbhid-objs += hid-ff.o
|
|
endif
|
|
|
|
obj-$(CONFIG_USB_HID) += usbhid.o
|
|
obj-$(CONFIG_USB_KBD) += usbkbd.o
|
|
obj-$(CONFIG_USB_MOUSE) += usbmouse.o
|
|
|