Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bartlomiej Zolnierkiewicz and committed by
Ingo Molnar
a6d30e0f f9273188

+3 -3
+1 -1
arch/x86/platform/geode/alix.c
··· 98 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 102 &alix_buttons_dev, 103 103 &alix_leds_dev, 104 104 };
+1 -1
arch/x86/platform/geode/geos.c
··· 87 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 91 &geos_buttons_dev, 92 92 &geos_leds_dev, 93 93 };
+1 -1
arch/x86/platform/geode/net5501.c
··· 78 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 82 &net5501_buttons_dev, 83 83 &net5501_leds_dev, 84 84 };