Skip to content

Commit 49904a0

Browse files
geertuJiri Kosina
authored andcommitted
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: 08809e4 ("HID: uclogic: KUnit best practices and naming conventions") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: David Gow <[email protected]> Reviewed-by: José Expósito <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 89e756e commit 49904a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ config HID_MCP2221
12851285

12861286
config HID_KUNIT_TEST
12871287
tristate "KUnit tests for HID" if !KUNIT_ALL_TESTS
1288-
depends on KUNIT=y
1288+
depends on KUNIT
12891289
depends on HID_BATTERY_STRENGTH
12901290
depends on HID_UCLOGIC
12911291
default KUNIT_ALL_TESTS

0 commit comments

Comments
 (0)