]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - block/blk-integrity.c
Driver core: Constify struct sysfs_ops in struct kobj_type
[mirror_ubuntu-zesty-kernel.git] / block / blk-integrity.c
index 15c630813b1ca550b39f40c8745c100f6ea8b2a3..96e83c2bdb94f0a06e4cd4f2f04e86b3b115fdb4 100644 (file)
@@ -278,7 +278,7 @@ static struct attribute *integrity_attrs[] = {
        NULL,
 };
 
-static struct sysfs_ops integrity_ops = {
+static const struct sysfs_ops integrity_ops = {
        .show   = &integrity_attr_show,
        .store  = &integrity_attr_store,
 };