[PATCH] ARM: rockchip: add missing header to <mach/rockchip.h>

Ahmad Fatoum ahmad at a3f.at
Mon Feb 20 23:07:49 PST 2023


The header uses error codes, so include the appropriate header.

Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
 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




More information about the barebox mailing list