const: make block_device_operations const
[platform/kernel/linux-exynos.git] / drivers / block / swim.c
index cf7877f..8f569e3 100644 (file)
@@ -748,7 +748,7 @@ static int floppy_revalidate(struct gendisk *disk)
        return !fs->disk_in;
 }
 
-static struct block_device_operations floppy_fops = {
+static const struct block_device_operations floppy_fops = {
        .owner           = THIS_MODULE,
        .open            = floppy_open,
        .release         = floppy_release,