md: Don't let implementation detail of curr_resync leak out through sysfs.
[pandora-kernel.git] / drivers / md / dm-sysfs.c
index f91b409..84d2b91 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,
 };