summaryrefslogtreecommitdiff
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2016-01-07 18:14:25 +0530
committerRohit Vaswani <rvaswani@codeaurora.org>2016-03-01 13:00:24 -0800
commit1ec7358a6161bdfe0482e4bd0d2b4448eea54449 (patch)
tree13fabf9d4d7b06870ef3f0ac0031d04733b5967e /include/linux/clk-provider.h
parentedf938dde9457d3c45a70ed3228c4c4ff61f1e11 (diff)
clk: msm: Add support for MSM clocks
Support added for MSM clock and modifications in the clk framework to use the MSM clock framework. Change-Id: Ibbcf0ffbf9d30dde2dcb0e943225ad95dd4e857d Signed-off-by: Taniya Das <tdas@codeaurora.org>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index c56988ac63f7..03b9f6fab0ff 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -780,6 +780,13 @@ static inline void clk_writel(u32 val, u32 __iomem *reg)
struct dentry *clk_debugfs_add_file(struct clk_hw *hw, char *name, umode_t mode,
void *data, const struct file_operations *fops);
#endif
+#else
+struct of_device_id;
+
+static inline void __init of_clk_init(const struct of_device_id *matches)
+{
+ return;
+}
#endif /* CONFIG_COMMON_CLK */
#endif /* CLK_PROVIDER_H */