diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/common/Makefile | 2 | ||||
-rw-r--r-- | test/dm/tpm.c | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/test/common/Makefile b/test/common/Makefile index a5ab10f6f6..12c65f8c95 100644 --- a/test/common/Makefile +++ b/test/common/Makefile @@ -2,5 +2,5 @@ obj-y += cmd_ut_common.o obj-$(CONFIG_AUTOBOOT) += test_autoboot.o obj-$(CONFIG_CYCLIC) += cyclic.o -obj-$(CONFIG_EVENT) += event.o +obj-$(CONFIG_EVENT_DYNAMIC) += event.o obj-y += cread.o diff --git a/test/dm/tpm.c b/test/dm/tpm.c index 3defb3c3da..cde933ab28 100644 --- a/test/dm/tpm.c +++ b/test/dm/tpm.c @@ -98,10 +98,11 @@ static int test_tpm_autostart(struct unit_test_state *uts, if (reinit) ut_assertok(tpm_init(dev)); - /* - * tpm_auto_start will rerun tpm_init() if reinit, but handles the - * -EBUSY return code internally. - */ + + /* + * tpm_auto_start will rerun tpm_init() if reinit, but handles the + * -EBUSY return code internally. + */ ut_assertok(tpm_auto_start(dev)); return 0; |