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
/
xen
/
sys-hypervisor.c
diff --git
a/drivers/xen/sys-hypervisor.c
b/drivers/xen/sys-hypervisor.c
index ae5cb05a1a1cb01cd4777d84b66ea3ba84e98c8a..bb71ab2336c896069faadd9e2a18b6633843bc77 100644
(file)
--- a/
drivers/xen/sys-hypervisor.c
+++ b/
drivers/xen/sys-hypervisor.c
@@
-426,7
+426,7
@@
static ssize_t hyp_sysfs_store(struct kobject *kobj,
return 0;
}
-static struct sysfs_ops hyp_sysfs_ops = {
+static
const
struct sysfs_ops hyp_sysfs_ops = {
.show = hyp_sysfs_show,
.store = hyp_sysfs_store,
};