ARM: shmobile: r8a7779: split r8a7779_init_irq_extpin() for DT
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 2 Oct 2013 08:38:23 +0000 (01:38 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 8 Oct 2013 00:29:16 +0000 (09:29 +0900)
commit90e27a05f64b8b4b6021cd996bef957656a8c8ab
tree0cdf54445edd36663d5fd22f280b97e7df745924
parentf564244fb14e0b8b3d8268efbac2e9506644c19f
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>
arch/arm/mach-shmobile/include/mach/r8a7779.h
arch/arm/mach-shmobile/setup-r8a7779.c