Commit b6880019 authored by Greg Ungerer's avatar Greg Ungerer Committed by Greg Ungerer

m68k: coldfire: add and use "vectors.h"

When building with W=1:

    arch/m68k/coldfire/vectors.c:43:13: warning: no previous prototype for ‘trap_init’ [-Wmissing-prototypes]
     void __init trap_init(void)
                 ^~~~~~~~~

Fix this by introducing a new header file "vectors.h" for holding the
prototypes of functions implemented in arch/m68k/coldfire/vectors.c.
Signed-off-by: default avatarGreg Ungerer <gerg@linux-m68k.org>
parent 7bc3db03
......@@ -18,6 +18,8 @@
#include <asm/mcfsim.h>
#include <asm/mcfwdebug.h>
#include "vectors.h"
/***************************************************************************/
#ifdef TRAP_DBG_INTERRUPT
......
/* SPDX-License-Identifier: GPL-2.0-only */
void trap_init(void);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment