diff options
Diffstat (limited to 'drivers/clk/pxa/clk-pxa27x.c')
-rw-r--r-- | drivers/clk/pxa/clk-pxa27x.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/clk/pxa/clk-pxa27x.c b/drivers/clk/pxa/clk-pxa27x.c index 88b9fe13fa44..5f9b54b024b9 100644 --- a/drivers/clk/pxa/clk-pxa27x.c +++ b/drivers/clk/pxa/clk-pxa27x.c | |||
@@ -111,7 +111,7 @@ PARENTS(pxa27x_membus) = { "lcd_base", "lcd_base" }; | |||
111 | PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ | 111 | PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \ |
112 | &CKEN, CKEN_ ## bit, CLK_IGNORE_UNUSED) | 112 | &CKEN, CKEN_ ## bit, CLK_IGNORE_UNUSED) |
113 | 113 | ||
114 | static struct pxa_clk_cken pxa27x_clocks[] = { | 114 | static struct desc_clk_cken pxa27x_clocks[] __initdata = { |
115 | PXA27X_PBUS_CKEN("pxa2xx-uart.0", NULL, FFUART, 2, 42, 1), | 115 | PXA27X_PBUS_CKEN("pxa2xx-uart.0", NULL, FFUART, 2, 42, 1), |
116 | PXA27X_PBUS_CKEN("pxa2xx-uart.1", NULL, BTUART, 2, 42, 1), | 116 | PXA27X_PBUS_CKEN("pxa2xx-uart.1", NULL, BTUART, 2, 42, 1), |
117 | PXA27X_PBUS_CKEN("pxa2xx-uart.2", NULL, STUART, 2, 42, 1), | 117 | PXA27X_PBUS_CKEN("pxa2xx-uart.2", NULL, STUART, 2, 42, 1), |
@@ -368,3 +368,10 @@ static int __init pxa27x_clocks_init(void) | |||
368 | return clk_pxa_cken_init(pxa27x_clocks, ARRAY_SIZE(pxa27x_clocks)); | 368 | return clk_pxa_cken_init(pxa27x_clocks, ARRAY_SIZE(pxa27x_clocks)); |
369 | } | 369 | } |
370 | postcore_initcall(pxa27x_clocks_init); | 370 | postcore_initcall(pxa27x_clocks_init); |
371 | |||
372 | static void __init pxa27x_dt_clocks_init(struct device_node *np) | ||
373 | { | ||
374 | pxa27x_clocks_init(); | ||
375 | clk_pxa_dt_common_init(np); | ||
376 | } | ||
377 | CLK_OF_DECLARE(pxa_clks, "marvell,pxa270-clocks", pxa27x_dt_clocks_init); | ||