summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2014-12-02 08:54:21 +0100
committerMichael Turquette <mturquette@linaro.org>2014-12-04 00:15:35 +0100
commit61c7cddfad266ebb86176723f9c679f25cf705fe (patch)
tree5d23c645b5726cd595e1e19e9f56068c466cf468 /include
parentclk: Don't expose __clk_get_accuracy (diff)
downloadlinux-61c7cddfad266ebb86176723f9c679f25cf705fe.tar.xz
linux-61c7cddfad266ebb86176723f9c679f25cf705fe.zip
clk: change clk_debugfs_add_file to take a struct clk_hw
Instead of struct clk, as this should be only used by providers. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/clk-provider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 270137aaf3ab..5e06f23eed41 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -650,7 +650,7 @@ static inline void clk_writel(u32 val, u32 __iomem *reg)
#endif /* platform dependent I/O accessors */
#ifdef CONFIG_DEBUG_FS
-struct dentry *clk_debugfs_add_file(struct clk *clk, char *name, umode_t mode,
+struct dentry *clk_debugfs_add_file(struct clk_hw *hw, char *name, umode_t mode,
void *data, const struct file_operations *fops);
#endif