summaryrefslogtreecommitdiff
path: root/arch/m68k/q40/config.c
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2022-01-21 23:07:34 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2022-02-21 14:00:20 +0300
commit91d7b75a5888c1824c87bded439db6e3e3ad7e3c (patch)
tree7b1a727adea78f939f2fd588c3f2bf453b21709c /arch/m68k/q40/config.c
parentdfd42facf1e4ada021b939b4e19c935dcdd55566 (diff)
downloadlinux-91d7b75a5888c1824c87bded439db6e3e3ad7e3c.tar.xz
m68k: Add asm/config.h
To avoid 'warning: no previous prototype for' errors, declare all the parse_bootinfo and config function prototypes into asm/config.h and include it in arch/m68k/kernel/setup_mm.c and arch/m68k/*/config.c. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Link: https://lore.kernel.org/r/20220121200738.2577697-2-laurent@vivier.eu Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/q40/config.c')
-rw-r--r--arch/m68k/q40/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/q40/config.c b/arch/m68k/q40/config.c
index 5caf1e5be1c2..9237243077ce 100644
--- a/arch/m68k/q40/config.c
+++ b/arch/m68k/q40/config.c
@@ -34,6 +34,7 @@
#include <asm/traps.h>
#include <asm/machdep.h>
#include <asm/q40_master.h>
+#include <asm/config.h>
extern void q40_init_IRQ(void);
static void q40_get_model(char *model);