Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: Alchemy: MTX-1: fix incorrect placement of __initdata tag
@ 2013-09-30 13:09 Bartlomiej Zolnierkiewicz
  2013-09-30 13:33 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2013-09-30 13:09 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips, linux-kernel, Kyungmin Park

__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 <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/mips/alchemy/board-mtx1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
-- 
1.8.2.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: Alchemy: MTX-1: fix incorrect placement of __initdata tag
  2013-09-30 13:09 [PATCH] MIPS: Alchemy: MTX-1: fix incorrect placement of __initdata tag Bartlomiej Zolnierkiewicz
@ 2013-09-30 13:33 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2013-09-30 13:33 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-mips, linux-kernel, Kyungmin Park

On Mon, Sep 30, 2013 at 03:09:20PM +0200, Bartlomiej Zolnierkiewicz wrote:

> __initdata tag should be placed between the variable name and equal
> sign for the variable to be placed in the intended .init.data section.

Thanks Bart, applied.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-30 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 13:09 [PATCH] MIPS: Alchemy: MTX-1: fix incorrect placement of __initdata tag Bartlomiej Zolnierkiewicz
2013-09-30 13:33 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox