Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / fs / btrfs / sysfs.c
index a240b6fa81df4759f10dfc8f007faf40594bd76b..4ce16ef702a3a9e7384ea9e1bc591c51a5f66c14 100644 (file)
@@ -164,12 +164,12 @@ static void btrfs_root_release(struct kobject *kobj)
        complete(&root->kobj_unregister);
 }
 
-static struct sysfs_ops btrfs_super_attr_ops = {
+static const struct sysfs_ops btrfs_super_attr_ops = {
        .show   = btrfs_super_attr_show,
        .store  = btrfs_super_attr_store,
 };
 
-static struct sysfs_ops btrfs_root_attr_ops = {
+static const struct sysfs_ops btrfs_root_attr_ops = {
        .show   = btrfs_root_attr_show,
        .store  = btrfs_root_attr_store,
 };