]> git.baikalelectronics.ru Git - kernel.git/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>
Wed, 19 Jul 2023 14:21:28 +0000 (16:21 +0200)
commit78cb71dd609b4348b1fd5152c46df041c4125fe4
tree9a234cb81df112b6c69166649b90d7325996f6cc
parent1420545b8a155416b8bc2bb86a7709e9ca0c620c
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