aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorSimon Glass2019-11-14 12:57:48 -0700
committerTom Rini2019-12-02 18:25:25 -0500
commitd67bdaa7999944001391fc238f00dfbaf7e9929a (patch)
treebcf9a9cd15efea52f169419bf1c1e59f9f7669c9 /arch/mips/lib
parent2cf431c228776d9899dfb980086b86d4dd3b2473 (diff)
common: Move trap_init() out of common.h
Move this function into the init.h header file. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/lib')
-rw-r--r--arch/mips/lib/traps.c1
1 files changed, 1 insertions, 0 deletions
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>