diff options
author | Alessandro Rubini <rubini@gnudd.com> | 2011-11-18 17:53:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-18 18:19:21 -0500 |
commit | 8ee4dd9f063ce59c08f3ce283ca03306131aaf3a (patch) | |
tree | 748c061f3a3b0aa4e15794e7509bbb889bb3fde7 /include/linux/debugfs.h | |
parent | c8d2a6f3999e175c4d564c445c7f1ececd926453 (diff) |
debugfs: print_regs32: make regs array a const pointer
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r-- | include/linux/debugfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index 5e6b01f6db4c..e8c3abc60811 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h | |||
@@ -90,7 +90,7 @@ struct dentry *debugfs_create_regset32(const char *name, mode_t mode, | |||
90 | struct dentry *parent, | 90 | struct dentry *parent, |
91 | struct debugfs_regset32 *regset); | 91 | struct debugfs_regset32 *regset); |
92 | 92 | ||
93 | int debugfs_print_regs32(struct seq_file *s, struct debugfs_reg32 *regs, | 93 | int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, |
94 | int nregs, void __iomem *base, char *prefix); | 94 | int nregs, void __iomem *base, char *prefix); |
95 | 95 | ||
96 | bool debugfs_initialized(void); | 96 | bool debugfs_initialized(void); |