Loading drivers/clk/clk.c +3 −3 Original line number Diff line number Diff line Loading @@ -354,13 +354,13 @@ static void clk_debug_unregister(struct clk *clk) mutex_unlock(&clk_debug_lock); } 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) { struct dentry *d = NULL; if (clk->dentry) d = debugfs_create_file(name, mode, clk->dentry, data, fops); if (hw->clk->dentry) d = debugfs_create_file(name, mode, hw->clk->dentry, data, fops); return d; } Loading include/linux/clk-provider.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
drivers/clk/clk.c +3 −3 Original line number Diff line number Diff line Loading @@ -354,13 +354,13 @@ static void clk_debug_unregister(struct clk *clk) mutex_unlock(&clk_debug_lock); } 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) { struct dentry *d = NULL; if (clk->dentry) d = debugfs_create_file(name, mode, clk->dentry, data, fops); if (hw->clk->dentry) d = debugfs_create_file(name, mode, hw->clk->dentry, data, fops); return d; } Loading
include/linux/clk-provider.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading