clk: consoldiate the __clk_get_hw() declarations
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Jul 2019 02:03:50 +0000 (12:03 +1000)
committerStephen Boyd <sboyd@kernel.org>
Fri, 12 Jul 2019 18:00:14 +0000 (11:00 -0700)
commit1df379924304b687263942452836db1d725155df
tree775fa5811171d6c54fd142e7aec445f00cd7a16d
parent30d5a945743cd05ec5c847f2e38c2fbda5e00944
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>
drivers/clk/clk.h
drivers/clk/imx/clk-imx6q.c
drivers/clk/imx/clk-imx6sll.c
drivers/clk/imx/clk-imx6sx.c
drivers/clk/imx/clk-imx6ul.c
drivers/clk/imx/clk-imx7d.c
drivers/clk/imx/clk.c
include/linux/clk-provider.h