You need to sign in or sign up before continuing.
提交 1461f8b6 编写于 作者: M Magnus Damm 提交者: Simon Horman

ARM: shmobile: Make sh73a0 INTC irqpin platform data static

The platform data for the INTC irq pin driver
seems to be global symbols, make it static to
allow multi-soc build.
Signed-off-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 fbc83b7f
......@@ -812,7 +812,7 @@ static struct platform_device ipmmu_device = {
.num_resources = ARRAY_SIZE(ipmmu_resources),
};
struct renesas_intc_irqpin_config irqpin0_platform_data = {
static struct renesas_intc_irqpin_config irqpin0_platform_data = {
.irq_base = irq_pin(0), /* IRQ0 -> IRQ7 */
};
......@@ -842,7 +842,7 @@ static struct platform_device irqpin0_device = {
},
};
struct renesas_intc_irqpin_config irqpin1_platform_data = {
static struct renesas_intc_irqpin_config irqpin1_platform_data = {
.irq_base = irq_pin(8), /* IRQ8 -> IRQ15 */
.control_parent = true, /* Disable spurious IRQ10 */
};
......@@ -873,7 +873,7 @@ static struct platform_device irqpin1_device = {
},
};
struct renesas_intc_irqpin_config irqpin2_platform_data = {
static struct renesas_intc_irqpin_config irqpin2_platform_data = {
.irq_base = irq_pin(16), /* IRQ16 -> IRQ23 */
};
......@@ -903,7 +903,7 @@ static struct platform_device irqpin2_device = {
},
};
struct renesas_intc_irqpin_config irqpin3_platform_data = {
static struct renesas_intc_irqpin_config irqpin3_platform_data = {
.irq_base = irq_pin(24), /* IRQ24 -> IRQ31 */
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册