common: Move trap_init() out of common.h
authorSimon Glass <sjg@chromium.org>
Thu, 14 Nov 2019 19:57:48 +0000 (12:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2019 23:25:25 +0000 (18:25 -0500)
commitd67bdaa7999944001391fc238f00dfbaf7e9929a
treebcf9a9cd15efea52f169419bf1c1e59f9f7669c9
parent2cf431c228776d9899dfb980086b86d4dd3b2473
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>
arch/m68k/lib/traps.c
arch/mips/lib/traps.c
include/common.h
include/init.h