提交 1443d6a2 编写于 作者: B Bartlomiej Zolnierkiewicz 提交者: Benjamin Herrenschmidt

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: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 dc1473dc
...@@ -48,7 +48,7 @@ struct cpm_pin { ...@@ -48,7 +48,7 @@ struct cpm_pin {
int port, pin, flags; int port, pin, flags;
}; };
static struct __initdata cpm_pin tqm8xx_pins[] = { static struct cpm_pin tqm8xx_pins[] __initdata = {
/* SMC1 */ /* SMC1 */
{CPM_PORTB, 24, CPM_PIN_INPUT}, /* RX */ {CPM_PORTB, 24, CPM_PIN_INPUT}, /* RX */
{CPM_PORTB, 25, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, /* TX */ {CPM_PORTB, 25, CPM_PIN_INPUT | CPM_PIN_SECONDARY}, /* TX */
...@@ -63,7 +63,7 @@ static struct __initdata cpm_pin tqm8xx_pins[] = { ...@@ -63,7 +63,7 @@ static struct __initdata cpm_pin tqm8xx_pins[] = {
{CPM_PORTC, 11, CPM_PIN_INPUT | CPM_PIN_SECONDARY | CPM_PIN_GPIO}, {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 */ /* MII */
{CPM_PORTD, 3, CPM_PIN_OUTPUT}, {CPM_PORTD, 3, CPM_PIN_OUTPUT},
{CPM_PORTD, 4, CPM_PIN_OUTPUT}, {CPM_PORTD, 4, CPM_PIN_OUTPUT},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册