The lowlevel_init can't fail and there's no sane way to deal with an error that early anyway, so make return type void. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/arm/mach-rockchip/include/mach/rockchip.h | 2 +- arch/arm/mach-rockchip/rk3568.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-rockchip/include/mach/rockchip.h b/arch/arm/mach-rockchip/include/mach/rockchip.h index 722b73d6f88f..269d113bc39f 100644 --- a/arch/arm/mach-rockchip/include/mach/rockchip.h +++ b/arch/arm/mach-rockchip/include/mach/rockchip.h @@ -28,6 +28,6 @@ static inline int rk3568_init(void) } #endif -int rk3568_lowlevel_init(void); +void rk3568_lowlevel_init(void); #endif /* __MACH_ROCKCHIP_H */ diff --git a/arch/arm/mach-rockchip/rk3568.c b/arch/arm/mach-rockchip/rk3568.c index 4e6d3eef8802..234c6d22d171 100644 --- a/arch/arm/mach-rockchip/rk3568.c +++ b/arch/arm/mach-rockchip/rk3568.c @@ -90,7 +90,7 @@ static void qos_priority_init(void) writel(0x303, EBC_PRIORITY_REG); } -int rk3568_lowlevel_init(void) +void rk3568_lowlevel_init(void) { /* * When perform idle operation, corresponding clock can @@ -135,8 +135,6 @@ int rk3568_lowlevel_init(void) writel(0x01ff01d1, USBPHY_U2_GRF_CON1); qos_priority_init(); - - return 0; } struct rk_bootsource { -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox