aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtd_blkdevs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
-rw-r--r--drivers/mtd/mtd_blkdevs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c
index 7baba40c1ed2..0acbf4f5be50 100644
--- a/drivers/mtd/mtd_blkdevs.c
+++ b/drivers/mtd/mtd_blkdevs.c
@@ -210,7 +210,7 @@ static int blktrans_ioctl(struct block_device *bdev, fmode_t mode,
210 } 210 }
211} 211}
212 212
213static struct block_device_operations mtd_blktrans_ops = { 213static const struct block_device_operations mtd_blktrans_ops = {
214 .owner = THIS_MODULE, 214 .owner = THIS_MODULE,
215 .open = blktrans_open, 215 .open = blktrans_open,
216 .release = blktrans_release, 216 .release = blktrans_release,