diff options
author | Geert Uytterhoeven <[email protected]> | 2023-05-23 17:10:59 +0200 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2023-06-09 17:39:52 +0200 |
commit | 49904a0ebf23b15aad288a10f5354e7cd8193121 (patch) | |
tree | 85f8f5be97be1f516ccc9686b1bd8d17ad62dab4 | |
parent | 89e756e3cc8d9c1ebc0f2b2f6912227073d93118 (diff) |
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 <[email protected]>
Reviewed-by: David Gow <[email protected]>
Reviewed-by: José Expósito <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
-rw-r--r-- | drivers/hid/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 4ce012f83253..b977450cac75 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -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 |