linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kconfig issue in commit c49c33637802 ("HID: support for initialization of some Thrustmaster wheels")
@ 2021-08-10  5:04 Lukas Bulwahn
  2021-08-10 10:25 ` Lukas Bulwahn
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2021-08-10  5:04 UTC (permalink / raw)
  To: Dario Pagani, Kim Kuparinen, Jiri Kosina; +Cc: linux-input, Benjamin Tissoires

Dear Dario, dear Kim, dear Jiri,

In commit c49c33637802 ("HID: support for initialization of some
Thrustmaster wheels"), you have added in ./drivers/hid/Makefile:

obj-$(CONFIG_HID_TMINIT)       += hid-tminit.o

and drivers/hid/hid-quirks.c:

+#if IS_ENABLED(CONFIG_HID_TMINIT)
+       { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65d) },
+#endif

However, there is no config HID_TMINIT defined in Kconfig, nor a file
hid-tminit.c.

So, this above is all dead code.

Is this just some unintended leftover from refactoring, or are we
missing a config and the hid-tminit file?

I am happy to provide a patch, once it is what was intended here.

E.g., just drop the line in the Makefile and add the HID_USB_DEVICE
declaration to the CONFIG_HID_THRUSTMASTER ifdef block---if that
works?

Best regards,

Lukas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-10 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-10  5:04 Kconfig issue in commit c49c33637802 ("HID: support for initialization of some Thrustmaster wheels") Lukas Bulwahn
2021-08-10 10:25 ` Lukas Bulwahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).