[PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock
Andrea Adami
andrea.adami at gmail.com
Fri Nov 23 18:12:08 EST 2012
* 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 at gmail.com>
---
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
More information about the linux-arm-kernel
mailing list