projects
/
linux-2.6-block.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
[linux-2.6-block.git]
/
drivers
/
base
/
class.c
diff --git
a/drivers/base/class.c
b/drivers/base/class.c
index 2e297cc4cd3d7e5a0f231a7a50fd7bc121b67486..0147f476b8a9d81be9792aa5572617d910ebaaaa 100644
(file)
--- a/
drivers/base/class.c
+++ b/
drivers/base/class.c
@@
-63,7
+63,7
@@
static void class_release(struct kobject *kobj)
kfree(cp);
}
-static struct sysfs_ops class_sysfs_ops = {
+static
const
struct sysfs_ops class_sysfs_ops = {
.show = class_attr_show,
.store = class_attr_store,
};