* [PATCH] ARM: shmobile: Make r8a7779 INTC irqpin platform data static
@ 2013-03-06 6:10 Magnus Damm
2013-03-06 7:55 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2013-03-06 6:10 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
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>
---
arch/arm/mach-shmobile/intc-r8a7779.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/intc-r8a7779.c
+++ work/arch/arm/mach-shmobile/intc-r8a7779.c 2013-03-06 15:04:35.000000000 +0900
@@ -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,
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: shmobile: Make r8a7779 INTC irqpin platform data static
2013-03-06 6:10 [PATCH] ARM: shmobile: Make r8a7779 INTC irqpin platform data static Magnus Damm
@ 2013-03-06 7:55 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2013-03-06 7:55 UTC (permalink / raw)
To: linux-sh
On Wed, Mar 06, 2013 at 03:10:06PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> 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>
I have added this to topic/intc-external-irq with the related patches.
The holding-pen for INTC.
> ---
>
> arch/arm/mach-shmobile/intc-r8a7779.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- 0001/arch/arm/mach-shmobile/intc-r8a7779.c
> +++ work/arch/arm/mach-shmobile/intc-r8a7779.c 2013-03-06 15:04:35.000000000 +0900
> @@ -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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-06 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-06 6:10 [PATCH] ARM: shmobile: Make r8a7779 INTC irqpin platform data static Magnus Damm
2013-03-06 7:55 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox