summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-08-20 08:01:03 +0200
committerArnd Bergmann <arnd@arndb.de>2012-08-20 08:01:03 +0200
commit5cbee140a28c2746449ae31e85738043ae4da927 (patch)
tree5bc12e0ee64d71544a0f90d2a63a0c8acd8d2014 /arch
parent71f8e5b260e17a428dd7513c7d1e01777b69139b (diff)
parente6c509c8ef85155bf504254399d758384a3b2e38 (diff)
Merge branch 'dt' of git://github.com/hzhuang1/linux into next/dt
From Haojian Zhuang <haojian.zhuang@gmail.com>: Three more patches for the pxa/dt branch. Since they're depending on existing patch on pxa/dt branch, I didn't do rebase on v3.6-rc2 * 'dt' of git://github.com/hzhuang1/linux: ARM: pxa: fix build issue while CONFIG_OF is disabled mtd: nand: append missing parameter and value ARM: pxa: append the definition of CKENC Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/include/mach/pxa3xx-regs.h1
-rw-r--r--arch/arm/mach-pxa/pxa3xx.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h b/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
index 207ecb49a61..f4d48d20754 100644
--- a/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
+++ b/arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
@@ -131,6 +131,7 @@
#define AICSR __REG(0x41340008) /* Application Subsystem Interrupt Control/Status Register */
#define CKENA __REG(0x4134000C) /* A Clock Enable Register */
#define CKENB __REG(0x41340010) /* B Clock Enable Register */
+#define CKENC __REG(0x41340024) /* C Clock Enable Register */
#define AC97_DIV __REG(0x41340014) /* AC97 clock divisor value register */
#define ACCR_XPDIS (1 << 31) /* Core PLL Output Disable */
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c
index 4a9d04a57de..ff9c9574ec3 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)
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 */