summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mediatek/clk-gate.c
diff options
context:
space:
mode:
authorJames Liao <jamesjj.liao@mediatek.com>2016-08-16 09:30:21 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-08-19 02:15:30 +0200
commit928f3bfb81e81e7f3ce6d37857a1ae075475678d (patch)
treee3b5aee57b48c0adfa5fdb0ff2e2d3901e53875f /drivers/clk/mediatek/clk-gate.c
parentclk: ls1x: Migrate to clk_hw based OF and registration APIs (diff)
downloadlinux-928f3bfb81e81e7f3ce6d37857a1ae075475678d.tar.xz
linux-928f3bfb81e81e7f3ce6d37857a1ae075475678d.zip
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,