]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/md/dm-sysfs.c
Driver core: Constify struct sysfs_ops in struct kobj_type
[mirror_ubuntu-jammy-kernel.git] / drivers / md / dm-sysfs.c
index f91b40942e07885a1d2265de3c41e6abf6465fc7..84d2b91e4efb1b73cdb5dbfac2a2f4e3fd8f3922 100644 (file)
@@ -75,7 +75,7 @@ static struct attribute *dm_attrs[] = {
        NULL,
 };
 
-static struct sysfs_ops dm_sysfs_ops = {
+static const struct sysfs_ops dm_sysfs_ops = {
        .show   = dm_attr_show,
 };