Commit e6c509c8 authored by Haojian Zhuang's avatar Haojian Zhuang

ARM: pxa: fix build issue while CONFIG_OF is disabled

arch/arm/mach-pxa/built-in.o: In function `pxa3xx_dt_init_irq':
saar.c:(.init.text+0x604): undefined reference to `pxa_dt_irq_init'
Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
parent 6e308f87
...@@ -402,11 +402,13 @@ void __init pxa3xx_init_irq(void) ...@@ -402,11 +402,13 @@ void __init pxa3xx_init_irq(void)
pxa_init_irq(56, pxa3xx_set_wake); pxa_init_irq(56, pxa3xx_set_wake);
} }
#ifdef CONFIG_OF
void __init pxa3xx_dt_init_irq(void) void __init pxa3xx_dt_init_irq(void)
{ {
__pxa3xx_init_irq(); __pxa3xx_init_irq();
pxa_dt_irq_init(pxa3xx_set_wake); pxa_dt_irq_init(pxa3xx_set_wake);
} }
#endif /* CONFIG_OF */
static struct map_desc pxa3xx_io_desc[] __initdata = { static struct map_desc pxa3xx_io_desc[] __initdata = {
{ /* Mem Ctl */ { /* Mem Ctl */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment