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]
/
block
/
elevator.c
diff --git
a/block/elevator.c
b/block/elevator.c
index
ee3a883
..
df75676
100644
(file)
--- a/
block/elevator.c
+++ b/
block/elevator.c
@@
-892,7
+892,7
@@
elv_attr_store(struct kobject *kobj, struct attribute *attr,
return error;
}
-static struct sysfs_ops elv_sysfs_ops = {
+static
const
struct sysfs_ops elv_sysfs_ops = {
.show = elv_attr_show,
.store = elv_attr_store,
};