Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca5be4c6 authored by Robert Jarzmik's avatar Robert Jarzmik
Browse files

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: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
parent 1761b107
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ extern void pxa_timer_init(void);

#define pxa25x_handle_irq icip_handle_irq
extern int __init pxa25x_clocks_init(void);
extern void __init pxa25x_dt_init_irq(void);
extern void __init pxa25x_init_irq(void);
extern void __init pxa25x_map_io(void);
extern void __init pxa26x_init_irq(void);
+6 −0
Original line number Diff line number Diff line
@@ -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,