Commit 2926da2b authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

m68k: sun3/3x: Include <asm/config.h> for config_sun3*()

When building with W=1:

    arch/m68k/sun3/config.c:123:13: warning: no previous prototype for ‘config_sun3’ [-Wmissing-prototypes]
      126 | void __init config_sun3(void)
	  |             ^~~~~~~~~~~
    arch/m68k/sun3x/config.c:42:13: warning: no previous prototype for ‘config_sun3x’ [-Wmissing-prototypes]
       42 | void __init config_sun3x(void)
	  |             ^~~~~~~~~~~~

Fix this by including <asm/config.h>

Fixes: 91d7b75a ("m68k: Add asm/config.h")
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/b9178e864d6c5e06c177d53bc4cce6d689f94d78.1694613528.git.geert@linux-m68k.org
parent bbe6980c
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/sun3ints.h> #include <asm/sun3ints.h>
#include <asm/config.h>
char sun3_reserved_pmeg[SUN3_PMEGS_NUM]; char sun3_reserved_pmeg[SUN3_PMEGS_NUM];
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <asm/sun3ints.h> #include <asm/sun3ints.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/oplib.h> #include <asm/oplib.h>
#include <asm/config.h>
#include "time.h" #include "time.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment