diff options
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 4 |
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 | ||
141 | static struct block_device_operations md_fops; | 141 | static const struct block_device_operations md_fops; |
142 | 142 | ||
143 | static int start_readonly; | 143 | static 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 | } |
5559 | static struct block_device_operations md_fops = | 5559 | static 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, |