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 /fs/debugfs | |
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 'fs/debugfs')
-rw-r--r-- | fs/debugfs/file.c | 2 |
1 files changed, 1 insertions, 1 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; |