|
@@ -26,6 +26,7 @@ struct owl_clk_desc {
|
|
struct owl_clk_common **clks;
|
|
struct owl_clk_common **clks;
|
|
unsigned long num_clks;
|
|
unsigned long num_clks;
|
|
struct clk_hw_onecell_data *hw_clks;
|
|
struct clk_hw_onecell_data *hw_clks;
|
|
|
|
+ struct regmap *regmap;
|
|
};
|
|
};
|
|
|
|
|
|
static inline struct owl_clk_common *
|
|
static inline struct owl_clk_common *
|
|
@@ -35,7 +36,7 @@ static inline struct owl_clk_common *
|
|
}
|
|
}
|
|
|
|
|
|
int owl_clk_regmap_init(struct platform_device *pdev,
|
|
int owl_clk_regmap_init(struct platform_device *pdev,
|
|
- const struct owl_clk_desc *desc);
|
|
|
|
|
|
+ struct owl_clk_desc *desc);
|
|
int owl_clk_probe(struct device *dev, struct clk_hw_onecell_data *hw_clks);
|
|
int owl_clk_probe(struct device *dev, struct clk_hw_onecell_data *hw_clks);
|
|
|
|
|
|
#endif /* _OWL_COMMON_H_ */
|
|
#endif /* _OWL_COMMON_H_ */
|