summaryrefslogtreecommitdiff
path: root/arch/m68k/mac
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/mac
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/mac')
-rw-r--r--arch/m68k/mac/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/mac/config.c b/arch/m68k/mac/config.c
index 5d16f9b47aa9..65d124ec80bb 100644
--- a/arch/m68k/mac/config.c
+++ b/arch/m68k/mac/config.c
@@ -47,6 +47,7 @@
#include <asm/mac_via.h>
#include <asm/mac_oss.h>
#include <asm/mac_psc.h>
+#include <asm/config.h>
/* Mac bootinfo struct */
struct mac_booter_data mac_bi_data;