clk: mediatek: Make mtk_clk_register_mux() a static function
Subsystems (2)
PATCH v3 1/1 clk: mediatek: Make mtk_clk_register_mux() a static function
mtk_clk_register_mux() should be a static function
Fixes a3ae549917f16 ("clk: mediatek: Add new clkmux register API")
Signed-off-by Weiyi Lu <[email protected]>
--- drivers/clk/mediatek/clk-mux.c | 2 +- drivers/clk/mediatek/clk-mux.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-)
drivers/clk/mediatek/clk-mux.c +1 -1
@@ -155,7 +155,7 @@ static int mtk_clk_mux_set_parent_setclr_lock(struct clk_hw *hw, u8 index) .set_parent = mtk_clk_mux_set_parent_setclr_lock, }; -struct clk *mtk_clk_register_mux (const struct mtk_mux *mux, +static struct clk *mtk_clk_register_mux (const struct mtk_mux *mux,struct regmap *regmap,spinlock_t *lock) {
drivers/clk/mediatek/clk-mux.h +0 -4
@@ -77,10 +77,6 @@ struct mtk_mux { _width, _gate, _upd_ofs, _upd, \ CLK_SET_RATE_PARENT) -struct clk *mtk_clk_register_mux (const struct mtk_mux *mux, -struct regmap *regmap, -spinlock_t *lock); - int mtk_clk_register_muxes(const struct mtk_mux *muxes, int num, struct device_node *node, spinlock_t *lock,
Signature · 1 line
1.8.1.1.dirty
Quoting Weiyi Lu (2020-11-13 00:29:52)
Quoted 5 lines
mtk_clk_register_mux()should be a static functionFixes a3ae549917f16 ("clk: mediatek: Add new clkmux register API")Signed-off-by Weiyi Lu <[email protected]>---
Applied to clk-next
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek