MIPS: jz4740: Fix section mismatch in prom.c
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 4 Nov 2010 22:25:57 +0000 (23:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 16 Dec 2010 18:10:53 +0000 (18:10 +0000)
commit1d210386f6ef9000b1cd723cf453c5eb0377e722
tree49124ed4680d3ff0ada3e054e8dfe06939dadcee
parentfe749aab1d21cbb4d87527a7df8799583c233496
MIPS: jz4740: Fix section mismatch in prom.c

This patch fixes the following section mismatch:

WARNING: arch/mips/built-in.o(.text+0xc): Section mismatch in reference from the
function jz4740_init_cmdline() to the variable .init.data:arcs_cmdline

While were at it, make jz4740_init_cmdline static as well.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1755/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/prom.c