]> git.hungrycats.org Git - linux/commit
HID: uclogic: Modular KUnit tests should not depend on KUNIT=y
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 23 May 2023 15:10:59 +0000 (17:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:41 +0000 (19:39 +0200)
commit5f1ee55cff4551893f98e92dcaa10241384320d9
treebf89ac3320b845d0d389221b5b196945024c4d7c
parent8379b4ae63e89babf8293ca27f404d7d756a7c54
HID: uclogic: Modular KUnit tests should not depend on KUNIT=y

[ Upstream commit 49904a0ebf23b15aad288a10f5354e7cd8193121 ]

While KUnit tests that cannot be built as a loadable module must depend
on "KUNIT=y", this is not true for modular tests, where it adds an
unnecessary limitation.

Fix this by relaxing the dependency to "KUNIT".

Fixes: 08809e482a1c44d9 ("HID: uclogic: KUnit best practices and naming conventions")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/Kconfig