Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 339e1e54 authored by Shawn Guo's avatar Shawn Guo Committed by Stephen Boyd
Browse files

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: default avatarShawn Guo <shawn.guo@linaro.org>
Fixes: c7296c51 ("clk: core: New macro CLK_OF_DECLARE_DRIVER")
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 234d511d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment