Commit 070c7b86 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Alchemy: Fix modpost warnings.

  MODPOST vmlinux
WARNING: arch/mips/au1000/common/built-in.o(.text+0x1750): Section mismatch: reference to .init.data: (between 'au1xxx_platform_init' and '__fixup_bigphys_addr')
WARNING: arch/mips/au1000/common/built-in.o(.text+0x1754): Section mismatch: reference to .init.data: (between 'au1xxx_platform_init' and '__fixup_bigphys_addr')
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 35c700c0
...@@ -289,7 +289,7 @@ static struct platform_device *au1xxx_platform_devices[] __initdata = { ...@@ -289,7 +289,7 @@ static struct platform_device *au1xxx_platform_devices[] __initdata = {
#endif #endif
}; };
int au1xxx_platform_init(void) int __init au1xxx_platform_init(void)
{ {
return platform_add_devices(au1xxx_platform_devices, ARRAY_SIZE(au1xxx_platform_devices)); return platform_add_devices(au1xxx_platform_devices, ARRAY_SIZE(au1xxx_platform_devices));
} }
......
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