Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / drivers / xen / sys-hypervisor.c
index ae5cb05a1a1cb01cd4777d84b66ea3ba84e98c8a..bb71ab2336c896069faadd9e2a18b6633843bc77 100644 (file)
@@ -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,
 };