arm: pxa: add device-tree irq init for pxa27x
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>
This commit is contained in:
parent
62a7575720
commit
ef6dbda600
|
@ -398,6 +398,12 @@ void __init pxa27x_init_irq(void)
|
||||||
pxa_init_irq(34, pxa27x_set_wake);
|
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 = {
|
static struct map_desc pxa27x_io_desc[] __initdata = {
|
||||||
{ /* Mem Ctl */
|
{ /* Mem Ctl */
|
||||||
.virtual = (unsigned long)SMEMC_VIRT,
|
.virtual = (unsigned long)SMEMC_VIRT,
|
||||||
|
|
Loading…
Reference in New Issue