const: make block_device_operations const
[linux-3.10.git] / include / linux / genhd.h
index 109d179..297df45 100644 (file)
@@ -151,7 +151,7 @@ struct gendisk {
        struct disk_part_tbl *part_tbl;
        struct hd_struct part0;
 
-       struct block_device_operations *fops;
+       const struct block_device_operations *fops;
        struct request_queue *queue;
        void *private_data;