]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - lib/kobject.c
Driver core: Constify struct sysfs_ops in struct kobj_type
[mirror_ubuntu-jammy-kernel.git] / lib / kobject.c
index cecf5a0ef6e1e001b5eb5efccd7e6c28da8c4aaa..8115eb1bbf4dc198cc5f9a725c40f4a6afd0e414 100644 (file)
@@ -700,7 +700,7 @@ static ssize_t kobj_attr_store(struct kobject *kobj, struct attribute *attr,
        return ret;
 }
 
-struct sysfs_ops kobj_sysfs_ops = {
+const struct sysfs_ops kobj_sysfs_ops = {
        .show   = kobj_attr_show,
        .store  = kobj_attr_store,
 };