mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
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: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Link: http://lkml.kernel.org/r/18427893.G5JGWn465D@amdc1032 Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
f927318840
commit
a6d30e0fff
@ -98,7 +98,7 @@ static struct platform_device alix_leds_dev = {
|
||||
.dev.platform_data = &alix_leds_data,
|
||||
};
|
||||
|
||||
static struct __initdata platform_device *alix_devs[] = {
|
||||
static struct platform_device *alix_devs[] __initdata = {
|
||||
&alix_buttons_dev,
|
||||
&alix_leds_dev,
|
||||
};
|
||||
|
@ -87,7 +87,7 @@ static struct platform_device geos_leds_dev = {
|
||||
.dev.platform_data = &geos_leds_data,
|
||||
};
|
||||
|
||||
static struct __initdata platform_device *geos_devs[] = {
|
||||
static struct platform_device *geos_devs[] __initdata = {
|
||||
&geos_buttons_dev,
|
||||
&geos_leds_dev,
|
||||
};
|
||||
|
@ -78,7 +78,7 @@ static struct platform_device net5501_leds_dev = {
|
||||
.dev.platform_data = &net5501_leds_data,
|
||||
};
|
||||
|
||||
static struct __initdata platform_device *net5501_devs[] = {
|
||||
static struct platform_device *net5501_devs[] __initdata = {
|
||||
&net5501_buttons_dev,
|
||||
&net5501_leds_dev,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user