diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 08:54:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 14:42:49 +0200 |
commit | 0eecc6c3ef48474687b01be366789a3f9305e1e6 (patch) | |
tree | 2b30e4cb0c19f7b5d17e3f8d4e97d81b1669b0a0 /arch/openrisc | |
parent | 6d0c96cceb8aaa57f52971aae6ff237e4b36ba33 (diff) | |
download | barebox-0eecc6c3ef48474687b01be366789a3f9305e1e6.tar.gz barebox-0eecc6c3ef48474687b01be366789a3f9305e1e6.tar.xz |
openrisc: Add missing includes
Add missing includes to avoid -Wmissing-prototypes warnings.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/cpu/cache.c | 1 | ||||
-rw-r--r-- | arch/openrisc/cpu/exceptions.c | 1 |
2 files changed, 2 insertions, 0 deletions
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", |