Driver core: Constify struct sysfs_ops in struct kobj_type
[cascardo/linux.git] / drivers / firmware / memmap.c
index 20f6457..d59f7ca 100644 (file)
@@ -74,7 +74,7 @@ static struct attribute *def_attrs[] = {
        NULL
 };
 
-static struct sysfs_ops memmap_attr_ops = {
+static const struct sysfs_ops memmap_attr_ops = {
        .show = memmap_attr_show,
 };