]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d21e9f72280e2a781a2e71becff6bd7507777ce
tree1bc4ee7e10672d2f5dfc936efdc442d9aa581d53
parentdce3e12fa071bbfb603162e086c651ffd5112ba6
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