#if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK)
struct clk_hw *of_clk_get_hw(struct device_node *np,
int index, const char *con_id);
static inline struct clk_hw *of_clk_get_hw(struct device_node *np,
int index, const char *con_id)
struct clk *clk_hw_create_clk(struct device *dev, struct clk_hw *hw,
const char *dev_id, const char *con_id);
void __clk_put(struct clk *clk);
static inline struct clk *
clk_hw_create_clk(struct device *dev, struct clk_hw *hw, const char *dev_id,
static struct clk_hw *__clk_get_hw(struct clk *clk)
return (struct clk_hw *)clk;
static inline void __clk_put(struct clk *clk) { }