]> git.baikalelectronics.ru Git - kernel.git/commit
clk: remove clk-private.h
authorMichael Turquette <mturquette@linaro.org>
Thu, 29 Jan 2015 22:22:50 +0000 (14:22 -0800)
committerMichael Turquette <mturquette@linaro.org>
Mon, 2 Feb 2015 22:23:41 +0000 (14:23 -0800)
commit11f29305eb69ad6d5948956799ed6579d9e545da
tree57bf5300cd8920152daaa79875b3910700eb5170
parent346951476c5c76e567d8bb8763713cf12d5e9c81
clk: remove clk-private.h

Private clock framework data structures should be private, surprisingly.

Now that all platforms and drivers have been updated to remove static
initializations of struct clk and struct clk_core objects and all
references to clk-private.h have been removed we can move the
definitions of these structures into drivers/clk/clk.c and delete the
header.

Additionally the ugly DEFINE_CLK macros have been removed. Those were
used for static definitions of struct clk objects. That practice is no
longer allowed.

Finally __clk_init is staticized as it is no longer declared in any
header.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk.c
include/linux/clk-private.h [deleted file]