Commit 28f1186a authored by Stephen Boyd's avatar Stephen Boyd

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: default avatarStephen Boyd <sboyd@kernel.org>
parent 0cd41af0
...@@ -53,7 +53,7 @@ static const struct clk_ops clk_cpumux_ops = { ...@@ -53,7 +53,7 @@ static const struct clk_ops clk_cpumux_ops = {
.set_parent = clk_cpumux_set_parent, .set_parent = clk_cpumux_set_parent,
}; };
static struct clk __init * static struct clk *
mtk_clk_register_cpumux(const struct mtk_composite *mux, mtk_clk_register_cpumux(const struct mtk_composite *mux,
struct regmap *regmap) struct regmap *regmap)
{ {
...@@ -84,9 +84,9 @@ mtk_clk_register_cpumux(const struct mtk_composite *mux, ...@@ -84,9 +84,9 @@ mtk_clk_register_cpumux(const struct mtk_composite *mux,
return clk; return clk;
} }
int __init mtk_clk_register_cpumuxes(struct device_node *node, int mtk_clk_register_cpumuxes(struct device_node *node,
const struct mtk_composite *clks, int num, const struct mtk_composite *clks, int num,
struct clk_onecell_data *clk_data) struct clk_onecell_data *clk_data)
{ {
int i; int i;
struct clk *clk; struct clk *clk;
......
Markdown is supported
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