]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/params.c
Driver core: Constify struct sysfs_ops in struct kobj_type
[mirror_ubuntu-artful-kernel.git] / kernel / params.c
index 48370be3c0a18cf42fe15215cb67d6a57dc6c06a..68396d73c838d3c8e4a1fd2e52d7602c23618f80 100644 (file)
@@ -722,7 +722,7 @@ static ssize_t module_attr_store(struct kobject *kobj,
        return ret;
 }
 
-static struct sysfs_ops module_sysfs_ops = {
+static const struct sysfs_ops module_sysfs_ops = {
        .show = module_attr_show,
        .store = module_attr_store,
 };