summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/r8a7779.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-10-02 01:38:23 -0700
committerSimon Horman <horms+renesas@verge.net.au>2013-10-08 09:53:01 +0900
commit31e4e292f85189f01949124b04aabb3b50ba3e86 (patch)
tree6c696224deac48d492f31aa21147b3ea40bb54d6 /arch/arm/mach-shmobile/include/mach/r8a7779.h
parent2238577b2c91587daf5f87ce414ef5b3703f81af (diff)
downloadblackbird-op-linux-31e4e292f85189f01949124b04aabb3b50ba3e86.tar.gz
blackbird-op-linux-31e4e292f85189f01949124b04aabb3b50ba3e86.zip
ARM: shmobile: r8a7779: split r8a7779_init_irq_extpin() for DT
r8a7779 INTC needs IRL pin mode settings to determine behavior of IRQ0 - IRQ3, and r8a7779_init_irq_extpin() is controlling it via irlm parameter. But this function registers renesas_intc_irqpin driver if irlm was set, and this value depends on platform. This is not good for DT. This patch splits r8a7779_init_irq_extpin() function into "mode settings" and "funtion register" parts Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/r8a7779.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/r8a7779.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7779.h b/arch/arm/mach-shmobile/include/mach/r8a7779.h
index 31e87b92a9c3..17af34ed89c8 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7779.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7779.h
@@ -33,6 +33,7 @@ static inline struct r8a7779_pm_ch *to_r8a7779_ch(struct generic_pm_domain *d)
extern void r8a7779_init_delay(void);
extern void r8a7779_init_irq_extpin(int irlm);
+extern void r8a7779_init_irq_extpin_dt(int irlm);
extern void r8a7779_init_irq_dt(void);
extern void r8a7779_map_io(void);
extern void r8a7779_earlytimer_init(void);
OpenPOWER on IntegriCloud