aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 9dd872000cec..6aa497e4baf8 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -138,7 +138,7 @@ static ctl_table raid_root_table[] = {
138 { .ctl_name = 0 } 138 { .ctl_name = 0 }
139}; 139};
140 140
141static struct block_device_operations md_fops; 141static const struct block_device_operations md_fops;
142 142
143static int start_readonly; 143static int start_readonly;
144 144
@@ -5556,7 +5556,7 @@ static int md_revalidate(struct gendisk *disk)
5556 mddev->changed = 0; 5556 mddev->changed = 0;
5557 return 0; 5557 return 0;
5558} 5558}
5559static struct block_device_operations md_fops = 5559static const struct block_device_operations md_fops =
5560{ 5560{
5561 .owner = THIS_MODULE, 5561 .owner = THIS_MODULE,
5562 .open = md_open, 5562 .open = md_open,