aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2012-08-20 01:46:51 -0400
committerHaojian Zhuang <haojian.zhuang@gmail.com>2012-08-20 01:52:05 -0400
commite6c509c8ef85155bf504254399d758384a3b2e38 (patch)
tree5bc12e0ee64d71544a0f90d2a63a0c8acd8d2014 /arch/arm/mach-pxa
parent6e308f87c821e5b9316d9eb69e96d8a33910412a (diff)
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: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/pxa3xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c
index 4a9d04a57de5..ff9c9574ec3e 100644
--- a/arch/arm/mach-pxa/pxa3xx.c
+++ b/arch/arm/mach-pxa/pxa3xx.c
@@ -402,11 +402,13 @@ void __init pxa3xx_init_irq(void)
402 pxa_init_irq(56, pxa3xx_set_wake); 402 pxa_init_irq(56, pxa3xx_set_wake);
403} 403}
404 404
405#ifdef CONFIG_OF
405void __init pxa3xx_dt_init_irq(void) 406void __init pxa3xx_dt_init_irq(void)
406{ 407{
407 __pxa3xx_init_irq(); 408 __pxa3xx_init_irq();
408 pxa_dt_irq_init(pxa3xx_set_wake); 409 pxa_dt_irq_init(pxa3xx_set_wake);
409} 410}
411#endif /* CONFIG_OF */
410 412
411static struct map_desc pxa3xx_io_desc[] __initdata = { 413static struct map_desc pxa3xx_io_desc[] __initdata = {
412 { /* Mem Ctl */ 414 { /* Mem Ctl */