mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: rockchip: add missing header to <mach/rockchip.h>
@ 2023-02-21  7:07 Ahmad Fatoum
  2023-02-21  7:43 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-02-21  7:07 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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

Signed-off-by: Ahmad Fatoum <ahmad@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-21  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21  7:07 [PATCH] ARM: rockchip: add missing header to <mach/rockchip.h> Ahmad Fatoum
2023-02-21  7:43 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox