Skip to content

Commit 462ba66

Browse files
bulwahnJiri Kosina
authored andcommitted
HID: thrustmaster: clean up Makefile and adapt quirks
Commit c49c336 ("HID: support for initialization of some Thrustmaster wheels") messed up the Makefile and quirks during the refactoring of this commit. Luckily, ./scripts/checkkconfigsymbols.py warns on non-existing configs: HID_TMINIT Referencing files: drivers/hid/Makefile, drivers/hid/hid-quirks.c Following the discussion (see Link), CONFIG_HID_THRUSTMASTER is the intended config for CONFIG_HID_TMINIT and the file hid-tminit.c was actually added as hid-thrustmaster.c. So, clean up Makefile and adapt quirks to that refactoring. Fixes: c49c336 ("HID: support for initialization of some Thrustmaster wheels") Link: https://lore.kernel.org/linux-input/CAKXUXMx6dByO03f3dX0X5zjvQp0j2AhJBg0vQFDmhZUhtKxRxw@mail.gmail.com/ Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 7865370 commit 462ba66

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/hid/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ obj-$(CONFIG_HID_STEELSERIES) += hid-steelseries.o
115115
obj-$(CONFIG_HID_SUNPLUS) += hid-sunplus.o
116116
obj-$(CONFIG_HID_GREENASIA) += hid-gaff.o
117117
obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o hid-thrustmaster.o
118-
obj-$(CONFIG_HID_TMINIT) += hid-tminit.o
119118
obj-$(CONFIG_HID_TIVO) += hid-tivo.o
120119
obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o
121120
obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o

drivers/hid/hid-quirks.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,6 @@ static const struct hid_device_id hid_have_special_driver[] = {
662662
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb653) },
663663
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) },
664664
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65a) },
665-
#endif
666-
#if IS_ENABLED(CONFIG_HID_TMINIT)
667665
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65d) },
668666
#endif
669667
#if IS_ENABLED(CONFIG_HID_TIVO)

0 commit comments

Comments
 (0)