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:
parent
0ae7a8b765
commit
8168e285bc
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue