summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-11-14 12:57:48 -0700
committerTom Rini <[email protected]>2019-12-02 18:25:25 -0500
commitd67bdaa7999944001391fc238f00dfbaf7e9929a (patch)
treebcf9a9cd15efea52f169419bf1c1e59f9f7669c9 /arch
parent2cf431c228776d9899dfb980086b86d4dd3b2473 (diff)
common: Move trap_init() out of common.h
Move this function into the init.h header file. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Daniel Schwierzeck <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/lib/traps.c1
-rw-r--r--arch/mips/lib/traps.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/lib/traps.c b/arch/m68k/lib/traps.c
index 5d802077453..2ccd55add0c 100644
--- a/arch/m68k/lib/traps.c
+++ b/arch/m68k/lib/traps.c
@@ -8,6 +8,7 @@
*/
#include <common.h>
+#include <init.h>
#include <watchdog.h>
#include <command.h>
#include <asm/processor.h>
diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c
index b4bcdf81508..6fe8ebd16ba 100644
--- a/arch/mips/lib/traps.c
+++ b/arch/mips/lib/traps.c
@@ -12,6 +12,7 @@
#include <common.h>
#include <cpu_func.h>
+#include <init.h>
#include <asm/mipsregs.h>
#include <asm/addrspace.h>
#include <asm/system.h>