]> Git Repo - J-linux.git/commitdiff
HID: uclogic: Modular KUnit tests should not depend on KUNIT=y
authorGeert Uytterhoeven <[email protected]>
Tue, 23 May 2023 15:10:59 +0000 (17:10 +0200)
committerJiri Kosina <[email protected]>
Fri, 9 Jun 2023 15:39:52 +0000 (17:39 +0200)
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 <[email protected]>
Reviewed-by: David Gow <[email protected]>
Reviewed-by: José Expósito <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
drivers/hid/Kconfig

index 4ce012f83253ec9f12e3c12b5f95c12142cb4e8c..b977450cac75265d37ab1483b2d326e8c146f72e 100644 (file)
@@ -1285,7 +1285,7 @@ config HID_MCP2221
 
 config HID_KUNIT_TEST
        tristate "KUnit tests for HID" if !KUNIT_ALL_TESTS
-       depends on KUNIT=y
+       depends on KUNIT
        depends on HID_BATTERY_STRENGTH
        depends on HID_UCLOGIC
        default KUNIT_ALL_TESTS
This page took 0.049158 seconds and 4 git commands to generate.