From: Bartlomiej Zolnierkiewicz Date: Mon, 30 Sep 2013 13:09:20 +0000 (+0200) Subject: MIPS: Alchemy: MTX-1: fix incorrect placement of __initdata tag X-Git-Tag: upstream/snapshot3+hdmi~4202^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08ebb250ef9473112273f780a777b4624a38856f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git MIPS: Alchemy: MTX-1: fix incorrect placement of __initdata tag __initdata tag should be placed between the variable name and equal sign for the variable to be placed in the intended .init.data section. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Kyungmin Park Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/5934/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/alchemy/board-mtx1.c b/arch/mips/alchemy/board-mtx1.c index 4a9baa9..9969dba 100644 --- a/arch/mips/alchemy/board-mtx1.c +++ b/arch/mips/alchemy/board-mtx1.c @@ -276,7 +276,7 @@ static struct platform_device mtx1_pci_host = { .resource = alchemy_pci_host_res, }; -static struct __initdata platform_device * mtx1_devs[] = { +static struct platform_device *mtx1_devs[] __initdata = { &mtx1_pci_host, &mtx1_gpio_leds, &mtx1_wdt,