ARM: pxa: add dummy SA1100 rtc clock in pxa25x
authorAndrea Adami <andrea.adami@gmail.com>
Fri, 23 Nov 2012 00:03:39 +0000 (01:03 +0100)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Fri, 23 Nov 2012 09:27:41 +0000 (17:27 +0800)
* fix failure seen on Zaurus corgi:
* sa1100-rtc sa1100-rtc: failed to find rtc clock source
* sa1100-rtc: probe of sa1100-rtc failed with error -2

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/pxa25x.c

index aeb913e..3f5171e 100644 (file)
@@ -209,6 +209,7 @@ static struct clk_lookup pxa25x_clkregs[] = {
        INIT_CLKREG(&clk_pxa25x_gpio12, NULL, "GPIO12_CLK"),
        INIT_CLKREG(&clk_pxa25x_mem, "pxa2xx-pcmcia", NULL),
        INIT_CLKREG(&clk_dummy, "pxa-gpio", NULL),
+       INIT_CLKREG(&clk_dummy, "sa1100-rtc", NULL),
 };
 
 static struct clk_lookup pxa25x_hwuart_clkreg =