]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/s390/block/xpram.c
const: make block_device_operations const
[mirror_ubuntu-artful-kernel.git] / drivers / s390 / block / xpram.c
index ee604e92a5fa65580717c8207384c61615bb7c04..116d1b3eeb157093002ea32edbf7c45133dc695b 100644 (file)
@@ -244,7 +244,7 @@ static int xpram_getgeo(struct block_device *bdev, struct hd_geometry *geo)
        return 0;
 }
 
-static struct block_device_operations xpram_devops =
+static const struct block_device_operations xpram_devops =
 {
        .owner  = THIS_MODULE,
        .getgeo = xpram_getgeo,