projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Driver core: Constify struct sysfs_ops in struct kobj_type
[cascardo/linux.git]
/
fs
/
dlm
/
lockspace.c
diff --git
a/fs/dlm/lockspace.c
b/fs/dlm/lockspace.c
index
26a8bd4
..
f994a7d
100644
(file)
--- a/
fs/dlm/lockspace.c
+++ b/
fs/dlm/lockspace.c
@@
-148,7
+148,7
@@
static void lockspace_kobj_release(struct kobject *k)
kfree(ls);
}
-static struct sysfs_ops dlm_attr_ops = {
+static
const
struct sysfs_ops dlm_attr_ops = {
.show = dlm_attr_show,
.store = dlm_attr_store,
};