]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/block/swim3.c
const: make block_device_operations const
[net-next-2.6.git] / drivers / block / swim3.c
index 80df93e3cdd05f0d9c219b6d18bbf8b7a6de517d..e39e3820fef9d921d75cc9e771b1ce5b7b157144 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,