diff options
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index eee28fac210c..376f1ab48a24 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -1716,7 +1716,7 @@ out: | |||
1716 | return r; | 1716 | return r; |
1717 | } | 1717 | } |
1718 | 1718 | ||
1719 | static struct block_device_operations dm_blk_dops; | 1719 | static const struct block_device_operations dm_blk_dops; |
1720 | 1720 | ||
1721 | static void dm_wq_work(struct work_struct *work); | 1721 | static void dm_wq_work(struct work_struct *work); |
1722 | 1722 | ||
@@ -2663,7 +2663,7 @@ void dm_free_md_mempools(struct dm_md_mempools *pools) | |||
2663 | kfree(pools); | 2663 | kfree(pools); |
2664 | } | 2664 | } |
2665 | 2665 | ||
2666 | static struct block_device_operations dm_blk_dops = { | 2666 | static const struct block_device_operations dm_blk_dops = { |
2667 | .open = dm_blk_open, | 2667 | .open = dm_blk_open, |
2668 | .release = dm_blk_close, | 2668 | .release = dm_blk_close, |
2669 | .ioctl = dm_blk_ioctl, | 2669 | .ioctl = dm_blk_ioctl, |