Skip to content

Commit

Permalink
x86/geode: Fix incorrect placement of __initdata tag
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Ingo Molnar committed Oct 1, 2013
1 parent f927318 commit a6d30e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/x86/platform/geode/alix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/platform/geode/geos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/platform/geode/net5501.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit a6d30e0

Please sign in to comment.