Skip to content

Commit

Permalink
powerpc/8xx/tqm8xx: 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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Benjamin Herrenschmidt committed Oct 11, 2013
1 parent dc1473d commit 1443d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/8xx/tqm8xx_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct cpm_pin {
int port, pin, flags;
};

static struct __initdata cpm_pin tqm8xx_pins[] = {
static struct cpm_pin tqm8xx_pins[] __initdata = {
/* SMC1 */
{CPM_PORTB, 24, CPM_PIN_INPUT}, /* RX */
{CPM_PORTB, 25, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, /* TX */
Expand All @@ -63,7 +63,7 @@ static struct __initdata cpm_pin tqm8xx_pins[] = {
{CPM_PORTC, 11, CPM_PIN_INPUT | CPM_PIN_SECONDARY | CPM_PIN_GPIO},
};

static struct __initdata cpm_pin tqm8xx_fec_pins[] = {
static struct cpm_pin tqm8xx_fec_pins[] __initdata = {
/* MII */
{CPM_PORTD, 3, CPM_PIN_OUTPUT},
{CPM_PORTD, 4, CPM_PIN_OUTPUT},
Expand Down

0 comments on commit 1443d6a

Please sign in to comment.