From 417badb8278066213a472f6cb3b3410b72b36934 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 12 Apr 2023 11:55:03 +0200 Subject: [PATCH] zephyr: init: adjust SOF_MODULE_INIT Adjust SOF_MODULE_INIT so that new SYS_INIT signature is used. Signed-off-by: Gerard Marull-Paretas --- zephyr/include/rtos/init.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zephyr/include/rtos/init.h b/zephyr/include/rtos/init.h index f80b97ab6ffa..22341613f06c 100644 --- a/zephyr/include/rtos/init.h +++ b/zephyr/include/rtos/init.h @@ -9,9 +9,8 @@ #include #define SOF_MODULE_INIT(name, init) \ -static int zephyr_##name##_init(const struct device *dev) \ +static int zephyr_##name##_init(void) \ { \ - ARG_UNUSED(dev); \ init(); \ return 0; \ } \