MIPS: Alchemy: Resolve prom section mismatches
commit909ab5f9424392813a488316f7298a6f28f3fbbe
authorManuel Lauss <manuel.lauss@googlemail.com>
Thu, 19 Aug 2010 11:37:13 +0000 (19 13:37 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 20 Sep 2010 14:57:07 +0000 (20 15:57 +0100)
tree91866b472a2a62e0c31d3e079a784fd5622870a5
parent61f6519ba4610cf2390089d57c559fc772dd9b66
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