Skip to content

Commit

Permalink
ARM: pxa: fix build issue while CONFIG_OF is disabled
Browse files Browse the repository at this point in the history
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: Haojian Zhuang <haojian.zhuang@gmail.com>
  • Loading branch information
Haojian Zhuang committed Aug 20, 2012
1 parent 6e308f8 commit e6c509c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-pxa/pxa3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,13 @@ void __init pxa3xx_init_irq(void)
pxa_init_irq(56, pxa3xx_set_wake);
}

#ifdef CONFIG_OF
void __init pxa3xx_dt_init_irq(void)
{
__pxa3xx_init_irq();
pxa_dt_irq_init(pxa3xx_set_wake);
}
#endif /* CONFIG_OF */

static struct map_desc pxa3xx_io_desc[] __initdata = {
{ /* Mem Ctl */
Expand Down

0 comments on commit e6c509c

Please sign in to comment.