Commit f2c4b47f authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] PNX: Fix modpost warnings.

  MODPOST vmlinux
WARNING: arch/mips/philips/pnx8550/common/built-in.o(.text+0xd40): Section mismatch: reference to .init.data: (after 'pnx8550_platform_init')
WARNING: arch/mips/philips/pnx8550/common/built-in.o(.text+0xd44): Section mismatch: reference to .init.data: (after 'pnx8550_platform_init')
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 070c7b86
...@@ -123,7 +123,7 @@ static struct platform_device *pnx8550_platform_devices[] __initdata = { ...@@ -123,7 +123,7 @@ static struct platform_device *pnx8550_platform_devices[] __initdata = {
&pnx8550_uart_device, &pnx8550_uart_device,
}; };
int pnx8550_platform_init(void) static int __init pnx8550_platform_init(void)
{ {
return platform_add_devices(pnx8550_platform_devices, return platform_add_devices(pnx8550_platform_devices,
ARRAY_SIZE(pnx8550_platform_devices)); ARRAY_SIZE(pnx8550_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