soc/mediatek/common/mcu.c: Use 'enum cb_err' instead of 'int'

mtk_init_mcu() function already returns enum cb_err.

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: I562bfbdc5c917a17ce1aa656046b69eb56dce48c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68241
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
Elyes Haouas 2022-10-08 16:22:41 +02:00 committed by Sridhar Siricilla
parent 0ae7a8b765
commit 8168e285bc
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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;