projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62a7575
)
arm: pxa: add device-tree irq init for pxa27x
author
Robert Jarzmik
<robert.jarzmik@free.fr>
Sun, 28 Sep 2014 13:20:06 +0000
(15:20 +0200)
committer
Robert Jarzmik
<robert.jarzmik@free.fr>
Wed, 19 Nov 2014 22:53:14 +0000
(23:53 +0100)
Add the initializer for irqs in a device-tree machine on a pxa27x.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/pxa27x.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/pxa27x.c
b/arch/arm/mach-pxa/pxa27x.c
index b040d7d1488839085e5fb5fedf5bee29b0b15803..af423a48c2e3bb13bdb6295fd03ccc2332f61eb0 100644
(file)
--- a/
arch/arm/mach-pxa/pxa27x.c
+++ b/
arch/arm/mach-pxa/pxa27x.c
@@
-398,6
+398,12
@@
void __init pxa27x_init_irq(void)
pxa_init_irq(34, pxa27x_set_wake);
}
+void __init pxa27x_dt_init_irq(void)
+{
+ if (IS_ENABLED(CONFIG_OF))
+ pxa_dt_irq_init(pxa27x_set_wake);
+}
+
static struct map_desc pxa27x_io_desc[] __initdata = {
{ /* Mem Ctl */
.virtual = (unsigned long)SMEMC_VIRT,