]> git.baikalelectronics.ru Git - kernel.git/commit
HID: thrustmaster: clean up Makefile and adapt quirks
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Tue, 10 Aug 2021 10:21:48 +0000 (12:21 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 20 Aug 2021 12:53:54 +0000 (14:53 +0200)
commit05b6e1a0c05e434aa12655ec35603239bf90e0a0
treed9df584f8e17bfd0b831ae165674f7424568e1c2
parent82b9ee92be9b2063000b70f677bd2e6a883fd94d
HID: thrustmaster: clean up Makefile and adapt quirks

Commit 8c846363cae1 ("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: 8c846363cae1 ("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>
drivers/hid/Makefile
drivers/hid/hid-quirks.c