]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/block/floppy.c
const: make block_device_operations const
[mirror_ubuntu-artful-kernel.git] / drivers / block / floppy.c
index 2b387c2260d829e9f441ecc08a98b823de10ba52..5c01f747571b9fe34f54de72d5fa5f03641c17d7 100644 (file)
@@ -3907,7 +3907,7 @@ static int floppy_revalidate(struct gendisk *disk)
        return res;
 }
 
-static struct block_device_operations floppy_fops = {
+static const struct block_device_operations floppy_fops = {
        .owner                  = THIS_MODULE,
        .open                   = floppy_open,
        .release                = floppy_release,