summaryrefslogtreecommitdiffstats
path: root/arch/m68k/amiga/config.c
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2022-01-21 21:07:34 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2022-02-21 12:00:20 +0100
commit91d7b75a5888c1824c87bded439db6e3e3ad7e3c (patch)
tree7b1a727adea78f939f2fd588c3f2bf453b21709c /arch/m68k/amiga/config.c
parentdfd42facf1e4ada021b939b4e19c935dcdd55566 (diff)
downloadlinux-91d7b75a5888c1824c87bded439db6e3e3ad7e3c.tar.bz2
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/amiga/config.c')
-rw-r--r--arch/m68k/amiga/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c
index be2dfab48fd4..3137b45750df 100644
--- a/arch/m68k/amiga/config.c
+++ b/arch/m68k/amiga/config.c
@@ -37,6 +37,7 @@
#include <asm/irq.h>
#include <asm/machdep.h>
#include <asm/io.h>
+#include <asm/config.h>
static unsigned long amiga_model;