Commit a6d30e0f authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Ingo Molnar

x86/geode: 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: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Link: http://lkml.kernel.org/r/18427893.G5JGWn465D@amdc1032Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent f9273188
...@@ -98,7 +98,7 @@ static struct platform_device alix_leds_dev = { ...@@ -98,7 +98,7 @@ static struct platform_device alix_leds_dev = {
.dev.platform_data = &alix_leds_data, .dev.platform_data = &alix_leds_data,
}; };
static struct __initdata platform_device *alix_devs[] = { static struct platform_device *alix_devs[] __initdata = {
&alix_buttons_dev, &alix_buttons_dev,
&alix_leds_dev, &alix_leds_dev,
}; };
......
...@@ -87,7 +87,7 @@ static struct platform_device geos_leds_dev = { ...@@ -87,7 +87,7 @@ static struct platform_device geos_leds_dev = {
.dev.platform_data = &geos_leds_data, .dev.platform_data = &geos_leds_data,
}; };
static struct __initdata platform_device *geos_devs[] = { static struct platform_device *geos_devs[] __initdata = {
&geos_buttons_dev, &geos_buttons_dev,
&geos_leds_dev, &geos_leds_dev,
}; };
......
...@@ -78,7 +78,7 @@ static struct platform_device net5501_leds_dev = { ...@@ -78,7 +78,7 @@ static struct platform_device net5501_leds_dev = {
.dev.platform_data = &net5501_leds_data, .dev.platform_data = &net5501_leds_data,
}; };
static struct __initdata platform_device *net5501_devs[] = { static struct platform_device *net5501_devs[] __initdata = {
&net5501_buttons_dev, &net5501_buttons_dev,
&net5501_leds_dev, &net5501_leds_dev,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment