diff options
| author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2013-09-30 09:21:15 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2013-10-01 07:21:27 -0400 |
| commit | a6d30e0fffb32ab9e48fa7fc8f463805d5b0bddb (patch) | |
| tree | 0dca5f523359ff9734a428c82beec0f12a122244 | |
| parent | f927318840745095cc7003f1564ca4b87655745d (diff) | |
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>
| -rw-r--r-- | arch/x86/platform/geode/alix.c | 2 | ||||
| -rw-r--r-- | arch/x86/platform/geode/geos.c | 2 | ||||
| -rw-r--r-- | arch/x86/platform/geode/net5501.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/platform/geode/alix.c b/arch/x86/platform/geode/alix.c index 90e23e7679a5..76b6632d3143 100644 --- a/arch/x86/platform/geode/alix.c +++ b/arch/x86/platform/geode/alix.c | |||
| @@ -98,7 +98,7 @@ static struct platform_device alix_leds_dev = { | |||
| 98 | .dev.platform_data = &alix_leds_data, | 98 | .dev.platform_data = &alix_leds_data, |
| 99 | }; | 99 | }; |
| 100 | 100 | ||
| 101 | static struct __initdata platform_device *alix_devs[] = { | 101 | static struct platform_device *alix_devs[] __initdata = { |
| 102 | &alix_buttons_dev, | 102 | &alix_buttons_dev, |
| 103 | &alix_leds_dev, | 103 | &alix_leds_dev, |
| 104 | }; | 104 | }; |
diff --git a/arch/x86/platform/geode/geos.c b/arch/x86/platform/geode/geos.c index c2e6d53558be..aa733fba2471 100644 --- a/arch/x86/platform/geode/geos.c +++ b/arch/x86/platform/geode/geos.c | |||
| @@ -87,7 +87,7 @@ static struct platform_device geos_leds_dev = { | |||
| 87 | .dev.platform_data = &geos_leds_data, | 87 | .dev.platform_data = &geos_leds_data, |
| 88 | }; | 88 | }; |
| 89 | 89 | ||
| 90 | static struct __initdata platform_device *geos_devs[] = { | 90 | static struct platform_device *geos_devs[] __initdata = { |
| 91 | &geos_buttons_dev, | 91 | &geos_buttons_dev, |
| 92 | &geos_leds_dev, | 92 | &geos_leds_dev, |
| 93 | }; | 93 | }; |
diff --git a/arch/x86/platform/geode/net5501.c b/arch/x86/platform/geode/net5501.c index 646e3b5b4bb6..927e38c0089f 100644 --- a/arch/x86/platform/geode/net5501.c +++ b/arch/x86/platform/geode/net5501.c | |||
| @@ -78,7 +78,7 @@ static struct platform_device net5501_leds_dev = { | |||
| 78 | .dev.platform_data = &net5501_leds_data, | 78 | .dev.platform_data = &net5501_leds_data, |
| 79 | }; | 79 | }; |
| 80 | 80 | ||
| 81 | static struct __initdata platform_device *net5501_devs[] = { | 81 | static struct platform_device *net5501_devs[] __initdata = { |
| 82 | &net5501_buttons_dev, | 82 | &net5501_buttons_dev, |
| 83 | &net5501_leds_dev, | 83 | &net5501_leds_dev, |
| 84 | }; | 84 | }; |
