/* SPDX-License-Identifier: GPL-2.0+ */ // // OWL common clock driver // // Copyright (c) 2014 Actions Semi Inc. // Author: David Liu <[email protected]> // // Copyright (c) 2018 Linaro Ltd. // Author: Manivannan Sadhasivam <[email protected]> #ifndef _OWL_COMMON_H_ #define _OWL_COMMON_H_ #include <linux/clk-provider.h> #include <linux/regmap.h> struct device_node; struct platform_device; struct owl_clk_common { … }; struct owl_clk_desc { … }; static inline struct owl_clk_common * hw_to_owl_clk_common(const struct clk_hw *hw) { … } int owl_clk_regmap_init(struct platform_device *pdev, struct owl_clk_desc *desc); int owl_clk_probe(struct device *dev, struct clk_hw_onecell_data *hw_clks); #endif /* _OWL_COMMON_H_ */