summaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/Makefile
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2022-06-09 10:49:38 +0200
committerTzung-Bi Shih <tzungbi@kernel.org>2022-06-10 04:31:42 +0200
commitb99eb596efbd2aa138dad3dd5b6705b2e8c42c36 (patch)
tree264679f6aba9a3e7377e7892038526535f1e5f28 /drivers/platform/chrome/Makefile
parentplatform/chrome: cros_ec_commands: fix compile errors (diff)
downloadlinux-b99eb596efbd2aa138dad3dd5b6705b2e8c42c36.tar.xz
linux-b99eb596efbd2aa138dad3dd5b6705b2e8c42c36.zip
platform/chrome: cros_ec_proto: add Kunit tests for cros_ec_query_all()
cros_ec_query_all() sends multiple host commands to EC for querying supported protocols and settings. Add required mock for interacting with cros_ec_query_all() and Kunit tests. Reviewed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://lore.kernel.org/r/20220609084957.3684698-3-tzungbi@kernel.org
Diffstat (limited to 'drivers/platform/chrome/Makefile')
-rw-r--r--drivers/platform/chrome/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/chrome/Makefile b/drivers/platform/chrome/Makefile
index 3c380066c6b6..a06bc56d12a8 100644
--- a/drivers/platform/chrome/Makefile
+++ b/drivers/platform/chrome/Makefile
@@ -32,4 +32,5 @@ obj-$(CONFIG_CROS_USBPD_NOTIFY) += cros_usbpd_notify.o
obj-$(CONFIG_WILCO_EC) += wilco_ec/
# Kunit test cases
+obj-$(CONFIG_CROS_KUNIT) += cros_kunit_util.o
obj-$(CONFIG_CROS_EC_PROTO_KUNIT_TEST) += cros_ec_proto_test.o