The header uses error codes, so include the appropriate header. Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx> --- arch/arm/mach-rockchip/include/mach/rockchip.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-rockchip/include/mach/rockchip.h b/arch/arm/mach-rockchip/include/mach/rockchip.h index ff8b1109f858..16a691ee8c0a 100644 --- a/arch/arm/mach-rockchip/include/mach/rockchip.h +++ b/arch/arm/mach-rockchip/include/mach/rockchip.h @@ -3,6 +3,8 @@ #ifndef __MACH_ROCKCHIP_H #define __MACH_ROCKCHIP_H +#include <errno.h> + #ifdef CONFIG_ARCH_RK3188 int rk3188_init(void); #else -- 2.38.3