clk: pxa: fix one of the pxa RTC clocks
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 26 Oct 2019 19:44:20 +0000 (21:44 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 13 Nov 2019 23:01:17 +0000 (15:01 -0800)
The pxa27x platforms have a single IP with 2 drivers, sa1100-rtc and
rtc-pxa drivers.

A previous patch fixed the sa1100-rtc case, but the pxa-rtc wasn't
fixed. This patch completes the previous one.

Fixes: 8b6d10345e16 ("clk: pxa: add missing pxa27x clocks for Irda and sa1100-rtc")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Link: https://lkml.kernel.org/r/20191026194420.11918-1-robert.jarzmik@free.fr
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/pxa/clk-pxa27x.c

index 287fdeae7c7c28693844599cc6dd55698fbd729a..7b123105b5de40d38d02e8d8b04cda2b1b31ab65 100644 (file)
@@ -459,6 +459,7 @@ struct dummy_clk {
 };
 static struct dummy_clk dummy_clks[] __initdata = {
        DUMMY_CLK(NULL, "pxa27x-gpio", "osc_32_768khz"),
+       DUMMY_CLK(NULL, "pxa-rtc", "osc_32_768khz"),
        DUMMY_CLK(NULL, "sa1100-rtc", "osc_32_768khz"),
        DUMMY_CLK("UARTCLK", "pxa2xx-ir", "STUART"),
 };