File tree Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -299,12 +299,12 @@ config CROS_TYPEC_SWITCH
299
299
source "drivers/platform/chrome/wilco_ec/Kconfig"
300
300
301
301
# Kunit test cases
302
- config CROS_KUNIT
303
- tristate "Kunit tests for ChromeOS" if !KUNIT_ALL_TESTS
302
+ config CROS_KUNIT_EC_PROTO_TEST
303
+ tristate "Kunit tests for ChromeOS EC protocol " if !KUNIT_ALL_TESTS
304
304
depends on KUNIT && CROS_EC
305
305
default KUNIT_ALL_TESTS
306
306
select CROS_EC_PROTO
307
307
help
308
- ChromeOS Kunit tests.
308
+ Kunit tests for ChromeOS EC protocol .
309
309
310
310
endif # CHROMEOS_PLATFORMS
Original file line number Diff line number Diff line change @@ -36,6 +36,5 @@ obj-$(CONFIG_CROS_USBPD_NOTIFY) += cros_usbpd_notify.o
36
36
obj-$(CONFIG_WILCO_EC) += wilco_ec/
37
37
38
38
# Kunit test cases
39
- obj-$(CONFIG_CROS_KUNIT) += cros_kunit.o
40
- cros_kunit-objs := cros_kunit_util.o
41
- cros_kunit-objs += cros_ec_proto_test.o
39
+ obj-$(CONFIG_CROS_KUNIT_EC_PROTO_TEST) += cros_kunit_proto_test.o
40
+ cros_kunit_proto_test-objs := cros_ec_proto_test_util.o cros_ec_proto_test.o
Original file line number Diff line number Diff line change 11
11
#include <linux/platform_data/cros_ec_proto.h>
12
12
13
13
#include "cros_ec.h"
14
- #include "cros_kunit_util .h"
14
+ #include "cros_ec_proto_test_util .h"
15
15
16
16
#define BUFSIZE 512
17
17
Original file line number Diff line number Diff line change 11
11
#include <linux/platform_data/cros_ec_proto.h>
12
12
13
13
#include "cros_ec.h"
14
- #include "cros_kunit_util .h"
14
+ #include "cros_ec_proto_test_util .h"
15
15
16
16
int cros_kunit_ec_xfer_mock_default_result ;
17
17
int cros_kunit_ec_xfer_mock_default_ret ;
@@ -126,5 +126,3 @@ void cros_kunit_mock_reset(void)
126
126
cros_kunit_readmem_mock_data = NULL ;
127
127
cros_kunit_readmem_mock_ret = 0 ;
128
128
}
129
-
130
- MODULE_LICENSE ("GPL" );
File renamed without changes.
You can’t perform that action at this time.
0 commit comments