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
/
overlay.c
diff --git
a/drivers/video/omap2/dss/overlay.c
b/drivers/video/omap2/dss/overlay.c
index 0c5bea263ac6f09df328050c14a76c01fb3dfb8a..aed3f31943478d6c8c52d6a43b1c87963d5bd1ce 100644
(file)
--- a/
drivers/video/omap2/dss/overlay.c
+++ b/
drivers/video/omap2/dss/overlay.c
@@
-320,7
+320,7
@@
static ssize_t overlay_attr_store(struct kobject *kobj, struct attribute *attr,
return overlay_attr->store(overlay, buf, size);
}
-static struct sysfs_ops overlay_sysfs_ops = {
+static
const
struct sysfs_ops overlay_sysfs_ops = {
.show = overlay_attr_show,
.store = overlay_attr_store,
};