summaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/Kconfig
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2022-07-20 06:47:53 +0200
committerTzung-Bi Shih <tzungbi@kernel.org>2022-07-21 10:49:28 +0200
commitf92dd1475b0644b4779eed6f937a1eebfb80d53d (patch)
tree34567e2381c0612f47681e8583ecfe4e2b933259 /drivers/platform/chrome/Kconfig
parentplatform/chrome: cros_kbd_led_backlight: fix build warning (diff)
downloadlinux-f92dd1475b0644b4779eed6f937a1eebfb80d53d.tar.xz
linux-f92dd1475b0644b4779eed6f937a1eebfb80d53d.zip
platform/chrome: merge Kunit utils and test cases
Merge CROS_KUNIT and CROS_EC_PROTO_KUNIT_TEST so that when they're built as modules cros_kunit_util doesn't need to export the symbols. Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Link: https://lore.kernel.org/r/20220720044754.4026295-2-tzungbi@kernel.org
Diffstat (limited to 'drivers/platform/chrome/Kconfig')
-rw-r--r--drivers/platform/chrome/Kconfig10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig
index cae859f0bc06..c45fb376d653 100644
--- a/drivers/platform/chrome/Kconfig
+++ b/drivers/platform/chrome/Kconfig
@@ -269,17 +269,11 @@ source "drivers/platform/chrome/wilco_ec/Kconfig"
# Kunit test cases
config CROS_KUNIT
- tristate
- help
- ChromeOS Kunit.
-
-config CROS_EC_PROTO_KUNIT_TEST
- tristate "Kunit tests for ChromeOS EC protocol" if !KUNIT_ALL_TESTS
+ tristate "Kunit tests for ChromeOS" if !KUNIT_ALL_TESTS
depends on KUNIT && CROS_EC
default KUNIT_ALL_TESTS
select CROS_EC_PROTO
- select CROS_KUNIT
help
- Kunit tests for the ChromeOS Embedded Controller protocol.
+ ChromeOS Kunit tests.
endif # CHROMEOS_PLATFORMS