summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/clk-gate.c
diff options
context:
space:
mode:
authorJames Liao <jamesjj.liao@mediatek.com>2016-08-16 10:30:21 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-08-19 03:15:30 +0300
commit928f3bfb81e81e7f3ce6d37857a1ae075475678d (patch)
treee3b5aee57b48c0adfa5fdb0ff2e2d3901e53875f /drivers/clk/mediatek/clk-gate.c
parent944b9a41e004534f3634335aa1d6bec16700028f (diff)
downloadlinux-928f3bfb81e81e7f3ce6d37857a1ae075475678d.tar.xz
clk: mediatek: remove __init from clk registration functions
Remove __init from functions that will be used by init functions that support probe deferral. Signed-off-by: James Liao <jamesjj.liao@mediatek.com> Signed-off-by: Erin Lo <erin.lo@mediatek.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-gate.c')
-rw-r--r--drivers/clk/mediatek/clk-gate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-gate.c b/drivers/clk/mediatek/clk-gate.c
index 2a76901bf04b..d8787bf444eb 100644
--- a/drivers/clk/mediatek/clk-gate.c
+++ b/drivers/clk/mediatek/clk-gate.c
@@ -97,7 +97,7 @@ const struct clk_ops mtk_clk_gate_ops_setclr_inv = {
.disable = mtk_cg_disable_inv,
};
-struct clk * __init mtk_clk_register_gate(
+struct clk *mtk_clk_register_gate(
const char *name,
const char *parent_name,
struct regmap *regmap,