mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
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: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/417b46ec1945212c0b1fcc8b0f4074bae9a8b0b4.1694613528.git.geert@linux-m68k.org
This commit is contained in:
parent
e9f72cff89
commit
7849b9122e
@ -880,7 +880,7 @@ static const struct resource atari_falconide_rsrc[] __initconst = {
|
||||
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;
|
||||
int rv = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user