diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2019-07-02 04:03:50 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-07-12 20:00:14 +0200 |
commit | 1df379924304b687263942452836db1d725155df (patch) | |
tree | 775fa5811171d6c54fd142e7aec445f00cd7a16d /drivers/clk/imx/clk-imx6q.c | |
parent | clk: Unexport __clk_of_table (diff) | |
download | linux-1df379924304b687263942452836db1d725155df.tar.xz linux-1df379924304b687263942452836db1d725155df.zip |
clk: consoldiate the __clk_get_hw() declarations
Without this we were getting errors like:
In file included from drivers/clk/clkdev.c:22:0:
drivers/clk/clk.h:36:23: error: static declaration of '__clk_get_hw' follows non-static declaration
include/linux/clk-provider.h:808:16: note: previous declaration of '__clk_get_hw' was here
Fixes: 59fcdce425b7 ("clk: Remove ifdef for COMMON_CLK in clk-provider.h")
fixes: 73e0e496afda ("clkdev: Always allocate a struct clk and call __clk_get() w/ CCF")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/imx/clk-imx6q.c')
-rw-r--r-- | drivers/clk/imx/clk-imx6q.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c index 708e7c5590dd..fa5ef3cc2240 100644 --- a/drivers/clk/imx/clk-imx6q.c +++ b/drivers/clk/imx/clk-imx6q.c @@ -14,6 +14,7 @@ #include <linux/types.h> #include <linux/clk.h> #include <linux/clkdev.h> +#include <linux/clk-provider.h> #include <linux/err.h> #include <linux/io.h> #include <linux/of.h> |