clk: core: add __init decoration for CLK_OF_DECLARE_DRIVER function
authorShawn Guo <shawn.guo@linaro.org>
Sat, 8 Oct 2016 08:59:38 +0000 (16:59 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 17 Oct 2016 22:27:27 +0000 (15:27 -0700)
commit339e1e54891c339b30023c9cc8a005cbf65a3c0c
tree13e3777ec7bbe446d498232ee31313c2bc1d39b5
parent234d511d8c158d62f73f1a818eb4dd494a13a6e3
clk: core: add __init decoration for CLK_OF_DECLARE_DRIVER function

The new introduced macro CLK_OF_DECLARE_DRIVER is usually used to
declare clock driver init functions, which are mostly decorated with
__init.  Add __init decoration for CLK_OF_DECLARE_DRIVER function to
avoid causing section mismatch warnings on client clock drivers.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Fixes: c7296c51ce5d ("clk: core: New macro CLK_OF_DECLARE_DRIVER")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
include/linux/clk-provider.h