Skip to content

Commit bf7655c

Browse files
committed
boot-test: fix build after an API change
SYS_INIT() API has changed, initialisation functions now have to return an integer error code. Fix building SOF boot-test. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 5ec00d7 commit bf7655c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zephyr/boot_test.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ LOG_MODULE_REGISTER(sof_boot_test, LOG_LEVEL_DBG);
1212

1313
ZTEST_SUITE(sof_boot, NULL, NULL, NULL, NULL, NULL);
1414

15-
void sys_run_boot_tests(void)
15+
int sys_run_boot_tests(void)
1616
{
1717
ztest_run_all(NULL, false, 1, 1);
18+
return 0;
1819
}
1920
SYS_INIT(sys_run_boot_tests, APPLICATION, 99);
2021

0 commit comments

Comments
 (0)