Skip to content
Commit 1df37992 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Stephen Boyd
Browse files

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: 59fcdce4 ("clk: Remove ifdef for COMMON_CLK in clk-provider.h")
fixes: 73e0e496

 ("clkdev: Always allocate a struct clk and call __clk_get() w/ CCF")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 30d5a945
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment