clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h
[cascardo/linux.git] / drivers / clk / mediatek / clk-gate.h
index 11e25c9..b182160 100644 (file)
@@ -29,7 +29,7 @@ struct mtk_clk_gate {
        u8              bit;
 };
 
-static inline struct mtk_clk_gate *to_clk_gate(struct clk_hw *hw)
+static inline struct mtk_clk_gate *to_mtk_clk_gate(struct clk_hw *hw)
 {
        return container_of(hw, struct mtk_clk_gate, hw);
 }