diff options
-rw-r--r-- | fs/debugfs/file.c | 2 | ||||
-rw-r--r-- | include/linux/debugfs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index f31a27c60fc6..fc98ec9e1d83 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c | |||
@@ -548,7 +548,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_blob); | |||
548 | * because some peripherals have several blocks of identical registers, | 548 | * because some peripherals have several blocks of identical registers, |
549 | * for example configuration of dma channels | 549 | * for example configuration of dma channels |
550 | */ | 550 | */ |
551 | int debugfs_print_regs32(struct seq_file *s, struct debugfs_reg32 *regs, | 551 | int debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, |
552 | int nregs, void __iomem *base, char *prefix) | 552 | int nregs, void __iomem *base, char *prefix) |
553 | { | 553 | { |
554 | int i, ret = 0; | 554 | int i, ret = 0; |
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); |