[RFC 01/17] clk: ensure __clk_of_table is only initialized once

2013-08-19 Thread Sebastian Hesselbarth
This patch ensures DT clock providers are only initialized once by using a static bool that is set after first call to of_clk_init(). Signed-off-by: Sebastian Hesselbarth --- Cc: Mike Turquette Cc: Russell King Cc: Arnd Bergmann Cc: linux-arm-ker...@lists.infradead.org Cc:

[RFC 01/17] clk: ensure __clk_of_table is only initialized once

2013-08-19 Thread Sebastian Hesselbarth
This patch ensures DT clock providers are only initialized once by using a static bool that is set after first call to of_clk_init(). Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Arnd