MIPS: Alchemy: Resolve prom section mismatches
authorManuel Lauss <manuel.lauss@googlemail.com>
Thu, 19 Aug 2010 11:37:13 +0000 (13:37 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Oct 2010 17:33:59 +0000 (18:33 +0100)
commit2b877a3ff41b6d7e3ade0739ac840fb6c89f3b1f
tree1bc4ee7e10672d2f5dfc936efdc442d9aa581d53
parente080e6166a4c365f98a346e8433c81d0dca42f52
MIPS: Alchemy: Resolve prom section mismatches

The function prom_init_cmdline() references the variable __initdata
arcs_cmdline.

The function prom_get_ethernet_addr() references the variable __initdata
arcs_cmdline.

Annotate prom_init_cmdline() as __init, unexport and annotate
prom_get_ethernet_addr() since it's no longer called from within
driver code.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1547/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/prom.c