const: make block_device_operations const
[cascardo/linux.git] / drivers / block / swim3.c
index 80df93e..e39e382 100644 (file)
@@ -998,7 +998,7 @@ static int floppy_revalidate(struct gendisk *disk)
        return ret;
 }
 
-static struct block_device_operations floppy_fops = {
+static const struct block_device_operations floppy_fops = {
        .open           = floppy_open,
        .release        = floppy_release,
        .locked_ioctl   = floppy_ioctl,