Skip to contentSkip to conversation

ARM: shmobile: Make r8a7779 INTC irqpin platform data static

PATCH In review Magnus Damm 2 participants 2 messages Mar 6, 2013

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: shmobile: Make r8a7779 INTC irqpin platform data static

From: Magnus Damm <[email protected]>

The platform data for the INTC irq pin driver
seems to be global symbols, make it static to
allow multi-soc build.

---

 arch/arm/mach-shmobile/intc-r8a7779.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/intc-r8a7779.c +1 -1
@@ -42,7 +42,7 @@
 #define INT2NTSR0 IOMEM(0xfe700060)
 #define INT2NTSR1 IOMEM(0xfe700064)
 
-struct renesas_intc_irqpin_config irqpin0_platform_data = {
+static struct renesas_intc_irqpin_config irqpin0_platform_data = {
 	.irq_base = irq_pin(0), /* IRQ0 -> IRQ3 */
 	.sense_bitfield_width = 2,
 };
#1 lore raw
Quoted 7 lines · Magnus Damm

From: Magnus Damm <[email protected]>

The platform data for the INTC irq pin driver
seems to be global symbols, make it static to
allow multi-soc build.

I have added this to topic/intc-external-irq with the related patches. The holding-pen for INTC.

Quoted 21 lines

---

 arch/arm/mach-shmobile/intc-r8a7779.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/intc-r8a7779.c +1 -2
@@ -42,7 +42,7 @@
 #define INT2NTSR0 IOMEM(0xfe700060)
 #define INT2NTSR1 IOMEM(0xfe700064)
 
-struct renesas_intc_irqpin_config irqpin0_platform_data = {
+static struct renesas_intc_irqpin_config irqpin0_platform_data = {
 	.irq_base = irq_pin(0), /* IRQ0 -> IRQ3 */
 	.sense_bitfield_width = 2,
 };
--

To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html