Commit 7849b912 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

m68k: atari: Make atari_platform_init() static

When building with W=1:

    arch/m68k/atari/config.c:883:12: warning: no previous prototype for ‘atari_platform_init’ [-Wmissing-prototypes]
      883 | int __init atari_platform_init(void)
	  |            ^~~~~~~~~~~~~~~~~~~

Fix this by making atari_platform_init() static.
There was never a user outside arch/m68k/atari/config.c.
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/417b46ec1945212c0b1fcc8b0f4074bae9a8b0b4.1694613528.git.geert@linux-m68k.org
parent e9f72cff
...@@ -880,7 +880,7 @@ static const struct resource atari_falconide_rsrc[] __initconst = { ...@@ -880,7 +880,7 @@ static const struct resource atari_falconide_rsrc[] __initconst = {
DEFINE_RES_MEM(FALCON_IDE_BASE + 0x38, 2), DEFINE_RES_MEM(FALCON_IDE_BASE + 0x38, 2),
}; };
int __init atari_platform_init(void) static int __init atari_platform_init(void)
{ {
struct platform_device *pdev; struct platform_device *pdev;
int rv = 0; int rv = 0;
......
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