aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-18 15:40:32 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-18 18:25:53 -0500
commit833d6e01b4cfbc033a915ae02744247bbf7c619d (patch)
treec67c832bf1fb0654b3cb401b49571d9711f33c53 /include
parent0d4fb6e4cd0e067f7887ed2ce3784b04feafa097 (diff)
debugfs: regset32: make struct debugfs_reg32 pointer const
no user of that should ever change that pointer, so let's mark it const to prevent that from happening. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/debugfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
index 66c434f5dd1e..63f2465807d4 100644
--- a/include/linux/debugfs.h
+++ b/include/linux/debugfs.h
@@ -33,7 +33,7 @@ struct debugfs_reg32 {
33}; 33};
34 34
35struct debugfs_regset32 { 35struct debugfs_regset32 {
36 struct debugfs_reg32 *regs; 36 const struct debugfs_reg32 *regs;
37 int nregs; 37 int nregs;
38 void __iomem *base; 38 void __iomem *base;
39}; 39};