OSDN Git Service

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)
committerJiri Kosina <jkosina@suse.cz>
Fri, 9 Jun 2023 15:39:52 +0000 (17:39 +0200)
commit49904a0ebf23b15aad288a10f5354e7cd8193121
tree85f8f5be97be1f516ccc9686b1bd8d17ad62dab4
parent89e756e3cc8d9c1ebc0f2b2f6912227073d93118
HID: uclogic: Modular KUnit tests should not depend on KUNIT=y

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>
drivers/hid/Kconfig