clk: nomadik: declare OF clock provider

Common clock framework allows to register clock providers to get called
on of_clk_init() by using CLK_OF_DECLARE. This converts nomadik clock
provider to make use of it and get rid of the mach specific clk init
call. As clocks require system reset controller base address to be
initialized each clock driver checks src_base and calls new
nomadik_src_init if required.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
This commit is contained in:
Sebastian Hesselbarth
2013-09-17 00:32:34 +02:00
parent ea25a900f5
commit 74227e65f9
3 changed files with 17 additions and 35 deletions

View File

@@ -1,2 +0,0 @@
/* Minimal platform data header */
void nomadik_clk_init(void);