]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/block/ub.c
const: make block_device_operations const
[mirror_ubuntu-artful-kernel.git] / drivers / block / ub.c
index cc54473b8e77fa857d37eff69a053ff16b20c89c..c739b203fe91321b955905b72c3eab3e93f8d821 100644 (file)
@@ -1789,7 +1789,7 @@ static int ub_bd_media_changed(struct gendisk *disk)
        return lun->changed;
 }
 
-static struct block_device_operations ub_bd_fops = {
+static const struct block_device_operations ub_bd_fops = {
        .owner          = THIS_MODULE,
        .open           = ub_bd_open,
        .release        = ub_bd_release,