]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/video/omap2/dss/overlay.c
Driver core: Constify struct sysfs_ops in struct kobj_type
[mirror_ubuntu-bionic-kernel.git] / drivers / video / omap2 / dss / overlay.c
index 0c5bea263ac6f09df328050c14a76c01fb3dfb8a..aed3f31943478d6c8c52d6a43b1c87963d5bd1ce 100644 (file)
@@ -320,7 +320,7 @@ static ssize_t overlay_attr_store(struct kobject *kobj, struct attribute *attr,
        return overlay_attr->store(overlay, buf, size);
 }
 
-static struct sysfs_ops overlay_sysfs_ops = {
+static const struct sysfs_ops overlay_sysfs_ops = {
        .show = overlay_attr_show,
        .store = overlay_attr_store,
 };