projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e308f8
)
ARM: pxa: fix build issue while CONFIG_OF is disabled
author
Haojian Zhuang
<haojian.zhuang@gmail.com>
Mon, 20 Aug 2012 05:46:51 +0000
(13:46 +0800)
committer
Haojian Zhuang
<haojian.zhuang@gmail.com>
Mon, 20 Aug 2012 05:52:05 +0000
(13:52 +0800)
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>
arch/arm/mach-pxa/pxa3xx.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-pxa/pxa3xx.c
b/arch/arm/mach-pxa/pxa3xx.c
index
4a9d04a
..
ff9c957
100644
(file)
--- a/
arch/arm/mach-pxa/pxa3xx.c
+++ b/
arch/arm/mach-pxa/pxa3xx.c
@@
-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 */