Commit 91d7b75a authored by Laurent Vivier's avatar Laurent Vivier Committed by Geert Uytterhoeven
Browse files

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: default avatarLaurent Vivier <laurent@vivier.eu>
Link: https://lore.kernel.org/r/20220121200738.2577697-2-laurent@vivier.eu


Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent dfd42fac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;

+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include <asm/apollohw.h>
#include <asm/irq.h>
#include <asm/machdep.h>
#include <asm/config.h>

u_long sio01_physaddr;
u_long sio23_physaddr;
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@
#include <asm/machdep.h>
#include <asm/hwtest.h>
#include <asm/io.h>
#include <asm/config.h>

u_long atari_mch_cookie;
EXPORT_SYMBOL(atari_mch_cookie);
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@
#include <asm/traps.h>
#include <asm/machdep.h>
#include <asm/bvme6000hw.h>
#include <asm/config.h>

static void bvme6000_get_model(char *model);
extern void bvme6000_sched_init(void);
+1 −0
Original line number Diff line number Diff line
@@ -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"

Loading