[PATCH 07/10] openrisc: Add missing includes

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 15 08:25:36 EDT 2020


Add missing includes to avoid -Wmissing-prototypes warnings.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/openrisc/cpu/cache.c      | 1 +
 arch/openrisc/cpu/exceptions.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/openrisc/cpu/cache.c b/arch/openrisc/cpu/cache.c
index 1da2380c03..db6403634a 100644
--- a/arch/openrisc/cpu/cache.c
+++ b/arch/openrisc/cpu/cache.c
@@ -17,6 +17,7 @@
 #include <common.h>
 #include <init.h>
 #include <asm/system.h>
+#include <asm/cache.h>
 
 void flush_dcache_range(unsigned long addr, unsigned long stop)
 {
diff --git a/arch/openrisc/cpu/exceptions.c b/arch/openrisc/cpu/exceptions.c
index 4c52feb51c..c69ceafe80 100644
--- a/arch/openrisc/cpu/exceptions.c
+++ b/arch/openrisc/cpu/exceptions.c
@@ -16,6 +16,7 @@
 
 #include <common.h>
 #include <asm/system.h>
+#include <asm/openrisc_exc.h>
 
 static const char * const excp_table[] = {
 	"Unknown exception",
-- 
2.28.0




More information about the barebox mailing list