[PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock

From: Andrea Adami
Date: Fri Nov 23 2012 - 18:12:06 EST


* Using pxa27x you could now build both RTC_DRV_PXA and RTC_DRV_SA1100.
* Make sure you don't use both together: link /dev/rtc0 or /dev/rtc1
* to /dev/rtc according to your requirement.

Signed-off-by: Andrea Adami <andrea.adami@xxxxxxxxx>
---
arch/arm/mach-pxa/pxa27x.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 8047ee0..5970ebc 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -230,6 +230,7 @@ static struct clk_lookup pxa27x_clkregs[] = {
INIT_CLKREG(&clk_pxa27x_memc, NULL, "MEMCLK"),
INIT_CLKREG(&clk_pxa27x_mem, "pxa2xx-pcmcia", NULL),
INIT_CLKREG(&clk_dummy, "pxa-gpio", NULL),
+ INIT_CLKREG(&clk_dummy, "sa1100-rtc", NULL),
};

#ifdef CONFIG_PM
--
1.7.8.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/