]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/mtd/mtd_blkdevs.c
const: make block_device_operations const
[mirror_ubuntu-artful-kernel.git] / drivers / mtd / mtd_blkdevs.c
index 7baba40c1ed225f38921e2143514822080bc67ae..0acbf4f5be50d31e31ccbce8d5e51db854e57f22 100644 (file)
@@ -210,7 +210,7 @@ static int blktrans_ioctl(struct block_device *bdev, fmode_t mode,
        }
 }
 
-static struct block_device_operations mtd_blktrans_ops = {
+static const struct block_device_operations mtd_blktrans_ops = {
        .owner          = THIS_MODULE,
        .open           = blktrans_open,
        .release        = blktrans_release,