summaryrefslogtreecommitdiffstats
path: root/drivers/clk/pxa/clk-pxa27x.c
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2014-10-07 01:07:58 +0200
committerMichael Turquette <mturquette@linaro.org>2014-11-17 11:27:44 -0800
commit14dd5b01ae86760142157a5259b7f798eb840697 (patch)
tree97eb3cd234b50ee3081ecb91a53fc99ff49967e3 /drivers/clk/pxa/clk-pxa27x.c
parentfe7710fae477f648773648ea0a05b079c5b66667 (diff)
downloadlinux-stable-14dd5b01ae86760142157a5259b7f798eb840697.tar.gz
linux-stable-14dd5b01ae86760142157a5259b7f798eb840697.tar.bz2
linux-stable-14dd5b01ae86760142157a5259b7f798eb840697.zip
clk: pxa: declare init function and data __init
As the clock descriptions are constant and only usefull at init time, mark them as such by : - spliting clock description (desc) and clock private data (dynamic) - mark __initdata clock descriptions This makes all the register and descriptions of the clocks to go after kernel init phase. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/pxa/clk-pxa27x.c')
-rw-r--r--drivers/clk/pxa/clk-pxa27x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/pxa/clk-pxa27x.c b/drivers/clk/pxa/clk-pxa27x.c
index b345cc791e5d..24c1d2454c75 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" };
PXA_CKEN_1RATE(dev_id, con_id, bit, parents, \
&CKEN, CKEN_ ## bit, CLK_IGNORE_UNUSED)
-static struct pxa_clk_cken pxa27x_clocks[] = {
+static struct desc_clk_cken pxa27x_clocks[] __initdata = {
PXA27X_PBUS_CKEN("pxa2xx-uart.0", NULL, FFUART, 2, 42, 1),
PXA27X_PBUS_CKEN("pxa2xx-uart.1", NULL, BTUART, 2, 42, 1),
PXA27X_PBUS_CKEN("pxa2xx-uart.2", NULL, STUART, 2, 42, 1),