clk: add of_clk_init and CLK_OF_DECLARE macro
This add barebox versions of of_clk_init for parsing and registering
clock providers from DT. Also, a macro CLK_OF_DECLARE is added, that
allows to put init callbacks into its own section that can be linked
in the binary.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent fa1a406 commit feb1e38b433a07645e91924df248f6eac93a383e
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 9 Nov 2013
Sascha Hauer committed on 11 Nov 2013
Showing 2 changed files
View
drivers/clk/clk.c
View
include/linux/clk.h