diff options
author | Magnus Damm <damm@opensource.se> | 2013-03-06 01:08:31 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-03-18 08:26:06 -0400 |
commit | 1461f8b62ffac3baaa955f74d4fe4a6166bfb4b3 (patch) | |
tree | 32e3cbcbd1a391fd5cc50843597eef2e801517ec | |
parent | fbc83b7f59dd8ed1154286b6de00b6d03c24a3c4 (diff) |
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: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh73a0.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index 638735f78e36..e8cd93a5c550 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c | |||
@@ -812,7 +812,7 @@ static struct platform_device ipmmu_device = { | |||
812 | .num_resources = ARRAY_SIZE(ipmmu_resources), | 812 | .num_resources = ARRAY_SIZE(ipmmu_resources), |
813 | }; | 813 | }; |
814 | 814 | ||
815 | struct renesas_intc_irqpin_config irqpin0_platform_data = { | 815 | static struct renesas_intc_irqpin_config irqpin0_platform_data = { |
816 | .irq_base = irq_pin(0), /* IRQ0 -> IRQ7 */ | 816 | .irq_base = irq_pin(0), /* IRQ0 -> IRQ7 */ |
817 | }; | 817 | }; |
818 | 818 | ||
@@ -842,7 +842,7 @@ static struct platform_device irqpin0_device = { | |||
842 | }, | 842 | }, |
843 | }; | 843 | }; |
844 | 844 | ||
845 | struct renesas_intc_irqpin_config irqpin1_platform_data = { | 845 | static struct renesas_intc_irqpin_config irqpin1_platform_data = { |
846 | .irq_base = irq_pin(8), /* IRQ8 -> IRQ15 */ | 846 | .irq_base = irq_pin(8), /* IRQ8 -> IRQ15 */ |
847 | .control_parent = true, /* Disable spurious IRQ10 */ | 847 | .control_parent = true, /* Disable spurious IRQ10 */ |
848 | }; | 848 | }; |
@@ -873,7 +873,7 @@ static struct platform_device irqpin1_device = { | |||
873 | }, | 873 | }, |
874 | }; | 874 | }; |
875 | 875 | ||
876 | struct renesas_intc_irqpin_config irqpin2_platform_data = { | 876 | static struct renesas_intc_irqpin_config irqpin2_platform_data = { |
877 | .irq_base = irq_pin(16), /* IRQ16 -> IRQ23 */ | 877 | .irq_base = irq_pin(16), /* IRQ16 -> IRQ23 */ |
878 | }; | 878 | }; |
879 | 879 | ||
@@ -903,7 +903,7 @@ static struct platform_device irqpin2_device = { | |||
903 | }, | 903 | }, |
904 | }; | 904 | }; |
905 | 905 | ||
906 | struct renesas_intc_irqpin_config irqpin3_platform_data = { | 906 | static struct renesas_intc_irqpin_config irqpin3_platform_data = { |
907 | .irq_base = irq_pin(24), /* IRQ24 -> IRQ31 */ | 907 | .irq_base = irq_pin(24), /* IRQ24 -> IRQ31 */ |
908 | }; | 908 | }; |
909 | 909 | ||