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
/
video
/
omap2
/
dss
/
manager.c
diff --git
a/drivers/video/omap2/dss/manager.c
b/drivers/video/omap2/dss/manager.c
index 913142d4cab1f47203c593cd2ba213b37321e024..9acef00c47eaad1c4727c1721c01ccb10c85684d 100644
(file)
--- a/
drivers/video/omap2/dss/manager.c
+++ b/
drivers/video/omap2/dss/manager.c
@@
-341,7
+341,7
@@
static ssize_t manager_attr_store(struct kobject *kobj, struct attribute *attr,
return manager_attr->store(manager, buf, size);
}
-static struct sysfs_ops manager_sysfs_ops = {
+static
const
struct sysfs_ops manager_sysfs_ops = {
.show = manager_attr_show,
.store = manager_attr_store,
};