mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 15:11:50 +00:00
2eb5dc30eb
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>
36 lines
696 B
Makefile
36 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
|
|
|