diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-05-02 09:42:29 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-05-02 10:39:00 -0700 |
commit | e0f41f836f5e861bdcaf4719f160b62dbb8e9485 (patch) | |
tree | f008946dfde0d0df1be67ecb28bab2c6d2e5beda /drivers/input | |
parent | fd75f3694b1dd5070408ea4a58ca7f8e0a3fcbcd (diff) | |
download | linux-e0f41f836f5e861bdcaf4719f160b62dbb8e9485.tar.gz linux-e0f41f836f5e861bdcaf4719f160b62dbb8e9485.tar.bz2 linux-e0f41f836f5e861bdcaf4719f160b62dbb8e9485.zip |
Input: tests - 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: fdefcbdd6f361841 ("Input: Add KUnit tests for some of the input core helper functions")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/483c4f520e4acc6357ebba3e605977b4c56374df.1683022164.git.geert+renesas@glider.be
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 735f90b74ee5..3bdbd34314b3 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -168,7 +168,7 @@ config INPUT_EVBUG config INPUT_KUNIT_TEST tristate "KUnit tests for Input" if !KUNIT_ALL_TESTS - depends on INPUT && KUNIT=y + depends on INPUT && KUNIT default KUNIT_ALL_TESTS help Say Y here if you want to build the KUnit tests for the input |