summaryrefslogtreecommitdiff
path: root/arch/m68k/hp300/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/hp300/config.c
parentdfd42facf1e4ada021b939b4e19c935dcdd55566 (diff)
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/hp300/config.c')
-rw-r--r--arch/m68k/hp300/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/hp300/config.c b/arch/m68k/hp300/config.c
index ce1eb3d3d55d..2c92843397c3 100644
--- a/arch/m68k/hp300/config.c
+++ b/arch/m68k/hp300/config.c
@@ -22,6 +22,7 @@
#include <asm/blinken.h>
#include <asm/io.h> /* readb() and writeb() */
#include <asm/hp300hw.h>
+#include <asm/config.h>
#include "time.h"