summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/mediatek/common/include/soc/mcu_common.h2
-rw-r--r--src/soc/mediatek/common/mcu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/common/include/soc/mcu_common.h b/src/soc/mediatek/common/include/soc/mcu_common.h
index 974da52f35..7689c1b814 100644
--- a/src/soc/mediatek/common/include/soc/mcu_common.h
+++ b/src/soc/mediatek/common/include/soc/mcu_common.h
@@ -13,6 +13,6 @@ struct mtk_mcu {
void (*reset)(struct mtk_mcu *mcu); /* The reset callback */
};
-int mtk_init_mcu(struct mtk_mcu *mcu);
+enum cb_err mtk_init_mcu(struct mtk_mcu *mcu);
#endif /* SOC_MEDIATEK_MTLIB_COMMON_H */
diff --git a/src/soc/mediatek/common/mcu.c b/src/soc/mediatek/common/mcu.c
index 42b312449f..ca2bdbbd96 100644
--- a/src/soc/mediatek/common/mcu.c
+++ b/src/soc/mediatek/common/mcu.c
@@ -7,7 +7,7 @@
#include <soc/symbols.h>
#include <timer.h>
-int mtk_init_mcu(struct mtk_mcu *mcu)
+enum cb_err mtk_init_mcu(struct mtk_mcu *mcu)
{
struct stopwatch sw;