summaryrefslogtreecommitdiff
path: root/drivers/clk/spear/spear1310_clock.c
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-07-22 22:01:05 -0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2013-08-26 10:48:39 +0200
commit431807f0bff97bbfddc7a2497038369ed2b4e508 (patch)
tree13910720ae6cabe4a48f0b4afa0122bc1cd53ef0 /drivers/clk/spear/spear1310_clock.c
parent2371dd88b80fc847a451d5eff018e165501f560a (diff)
clk: sunxi: fix initialization of basic clocks
With the recent move towards CLK_OF_DECLARE(...), the driver stopped initializing osc32k, which is compatible "fixed-clock". This is because we never called of_clk_init(NULL). Fix this by moving the only other simple clock (osc24M) to use CLK_OF_DECLARE(...) and call of_clk_init(NULL) to initialize both of them. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/spear/spear1310_clock.c')
0 files changed, 0 insertions, 0 deletions