diff options
author | Stephen Boyd <sboyd@kernel.org> | 2018-11-30 00:34:33 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-11-30 00:39:19 -0800 |
commit | 28f1186a26f7e4e5df7be454710da26c810effb6 (patch) | |
tree | 74b3cb34550d2b50a522fd79aad234ceb682181d /drivers/clk/mediatek | |
parent | 0cd41af05f130adcce6050acade97ec0fb5069b9 (diff) | |
download | blackbird-op-linux-28f1186a26f7e4e5df7be454710da26c810effb6.tar.gz blackbird-op-linux-28f1186a26f7e4e5df7be454710da26c810effb6.zip |
clk: mediatek: Drop __init from mtk_clk_register_cpumuxes()
This function is used from more places than just __init code. Removing
__init silences a section mismatch warning here.
Cc: Sean Wang <sean.wang@mediatek.com>
Cc: Ryder Lee <ryder.lee@mediatek.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Wenzhen Yu <wenzhen.yu@mediatek.com>
Cc: Weiyi Lu <weiyi.lu@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek')
-rw-r--r-- | drivers/clk/mediatek/clk-cpumux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clk/mediatek/clk-cpumux.c b/drivers/clk/mediatek/clk-cpumux.c index 16e56772d280..6c7eaa21e662 100644 --- a/drivers/clk/mediatek/clk-cpumux.c +++ b/drivers/clk/mediatek/clk-cpumux.c @@ -53,7 +53,7 @@ static const struct clk_ops clk_cpumux_ops = { .set_parent = clk_cpumux_set_parent, }; -static struct clk __init * +static struct clk * mtk_clk_register_cpumux(const struct mtk_composite *mux, struct regmap *regmap) { @@ -84,9 +84,9 @@ mtk_clk_register_cpumux(const struct mtk_composite *mux, return clk; } -int __init mtk_clk_register_cpumuxes(struct device_node *node, - const struct mtk_composite *clks, int num, - struct clk_onecell_data *clk_data) +int mtk_clk_register_cpumuxes(struct device_node *node, + const struct mtk_composite *clks, int num, + struct clk_onecell_data *clk_data) { int i; struct clk *clk; |