diff options
Diffstat (limited to 'include/linux/debugfs.h')
| -rw-r--r-- | include/linux/debugfs.h | 13 | 
1 files changed, 6 insertions, 7 deletions
| diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 3d013de64f70..43efcc49f061 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h @@ -127,9 +127,9 @@ struct dentry *debugfs_create_blob(const char *name, umode_t mode,  				  struct dentry *parent,  				  struct debugfs_blob_wrapper *blob); -struct dentry *debugfs_create_regset32(const char *name, umode_t mode, -				     struct dentry *parent, -				     struct debugfs_regset32 *regset); +void debugfs_create_regset32(const char *name, umode_t mode, +			     struct dentry *parent, +			     struct debugfs_regset32 *regset);  void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs,  			  int nregs, void __iomem *base, char *prefix); @@ -304,11 +304,10 @@ static inline struct dentry *debugfs_create_blob(const char *name, umode_t mode,  	return ERR_PTR(-ENODEV);  } -static inline struct dentry *debugfs_create_regset32(const char *name, -				   umode_t mode, struct dentry *parent, -				   struct debugfs_regset32 *regset) +static inline void debugfs_create_regset32(const char *name, umode_t mode, +					   struct dentry *parent, +					   struct debugfs_regset32 *regset)  { -	return ERR_PTR(-ENODEV);  }  static inline void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, |