summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa25x.c
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2016-04-10 21:29:58 +0200
committerRobert Jarzmik <robert.jarzmik@free.fr>2016-08-09 08:16:58 +0200
commitca5be4c678a402b7a35b2ce9a1a480b79d53f36e (patch)
tree337e3677470d2b75cd65c2ac6deb1b57c4de5d2e /arch/arm/mach-pxa/pxa25x.c
parent1761b1076a6465158079fdb61edcd75143887937 (diff)
downloadlinux-ca5be4c678a402b7a35b2ce9a1a480b79d53f36e.tar.bz2
ARM: pxa: prepare pxa25x interrupts for device-tree platforms
Add the device-tree interrupts initialization function required to have a generic pxa25x device-tree machine. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/pxa25x.c')
-rw-r--r--arch/arm/mach-pxa/pxa25x.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c
index ec986524863b..3aa7acab2ccd 100644
--- a/arch/arm/mach-pxa/pxa25x.c
+++ b/arch/arm/mach-pxa/pxa25x.c
@@ -151,6 +151,12 @@ void __init pxa26x_init_irq(void)
}
#endif
+void __init pxa25x_dt_init_irq(void)
+{
+ if (IS_ENABLED(CONFIG_OF))
+ pxa_dt_irq_init(pxa25x_set_wake);
+}
+
static struct map_desc pxa25x_io_desc[] __initdata = {
{ /* Mem Ctl */
.virtual = (unsigned long)SMEMC_VIRT,