projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-flexiantxendom0-3.2.10.git]
/
drivers
/
dma
/
ioat
/
dma.c
diff --git
a/drivers/dma/ioat/dma.c
b/drivers/dma/ioat/dma.c
index
af14c9a
..
0099340
100644
(file)
--- a/
drivers/dma/ioat/dma.c
+++ b/
drivers/dma/ioat/dma.c
@@
-1138,7
+1138,7
@@
ioat_attr_show(struct kobject *kobj, struct attribute *attr, char *page)
return entry->show(&chan->common, page);
}
-struct sysfs_ops ioat_sysfs_ops = {
+const struct sysfs_ops ioat_sysfs_ops = {
.show = ioat_attr_show,
};