]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock
authorAndrea Adami <andrea.adami@gmail.com>
Fri, 23 Nov 2012 23:12:08 +0000 (00:12 +0100)
committerHaojian Zhuang <haojian.zhuang@linaro.org>
Wed, 23 Jan 2013 09:05:08 +0000 (17:05 +0800)
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@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/pxa27x.c

index 616cb87b61792544f470110cd6322b2d3ea9d914..07f1bdb9cd8efc73322371cb0fabc125313068e5 100644 (file)
@@ -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