diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2013-09-30 09:13:55 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 01:49:00 -0400 |
commit | 1443d6a2a740b0b0dd644dba0fb96863eea238eb (patch) | |
tree | d480dd4cea8b817ea027e257bd7258bc0035cb4d | |
parent | dc1473dcfaf4fb38ba2dcb2fb7ac7d0242185fa3 (diff) |
powerpc/8xx/tqm8xx: 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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/platforms/8xx/tqm8xx_setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/8xx/tqm8xx_setup.c b/arch/powerpc/platforms/8xx/tqm8xx_setup.c index 8d21ab70e06c..ef0778a0ca8f 100644 --- a/arch/powerpc/platforms/8xx/tqm8xx_setup.c +++ b/arch/powerpc/platforms/8xx/tqm8xx_setup.c | |||
@@ -48,7 +48,7 @@ struct cpm_pin { | |||
48 | int port, pin, flags; | 48 | int port, pin, flags; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static struct __initdata cpm_pin tqm8xx_pins[] = { | 51 | static struct cpm_pin tqm8xx_pins[] __initdata = { |
52 | /* SMC1 */ | 52 | /* SMC1 */ |
53 | {CPM_PORTB, 24, CPM_PIN_INPUT}, /* RX */ | 53 | {CPM_PORTB, 24, CPM_PIN_INPUT}, /* RX */ |
54 | {CPM_PORTB, 25, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, /* TX */ | 54 | {CPM_PORTB, 25, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, /* TX */ |
@@ -63,7 +63,7 @@ static struct __initdata cpm_pin tqm8xx_pins[] = { | |||
63 | {CPM_PORTC, 11, CPM_PIN_INPUT | CPM_PIN_SECONDARY | CPM_PIN_GPIO}, | 63 | {CPM_PORTC, 11, CPM_PIN_INPUT | CPM_PIN_SECONDARY | CPM_PIN_GPIO}, |
64 | }; | 64 | }; |
65 | 65 | ||
66 | static struct __initdata cpm_pin tqm8xx_fec_pins[] = { | 66 | static struct cpm_pin tqm8xx_fec_pins[] __initdata = { |
67 | /* MII */ | 67 | /* MII */ |
68 | {CPM_PORTD, 3, CPM_PIN_OUTPUT}, | 68 | {CPM_PORTD, 3, CPM_PIN_OUTPUT}, |
69 | {CPM_PORTD, 4, CPM_PIN_OUTPUT}, | 69 | {CPM_PORTD, 4, CPM_PIN_OUTPUT}, |