projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d4fb6e
)
debugfs: regset32: make struct debugfs_reg32 pointer const
author
Felipe Balbi
<balbi@ti.com>
Fri, 18 Jan 2013 20:40:32 +0000
(22:40 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 23:25:53 +0000
(15:25 -0800)
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>
include/linux/debugfs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/debugfs.h
b/include/linux/debugfs.h
index 66c434f5dd1e05243d616f408679fa4a843336cb..63f2465807d4094fb4f2fc6fe717688344f3e4e0 100644
(file)
--- a/
include/linux/debugfs.h
+++ b/
include/linux/debugfs.h
@@
-33,7
+33,7
@@
struct debugfs_reg32 {
};
struct debugfs_regset32 {
- struct debugfs_reg32 *regs;
+
const
struct debugfs_reg32 *regs;
int nregs;
void __iomem *base;
};