const: make block_device_operations const
[linux-block.git] / drivers / scsi / sd.c
index a89c421dab51b0b6d29dd94273b934244adf0c52..8dd96dcd716ce66089c13204166170446193c75a 100644 (file)
@@ -956,7 +956,7 @@ static int sd_compat_ioctl(struct block_device *bdev, fmode_t mode,
 }
 #endif
 
-static struct block_device_operations sd_fops = {
+static const struct block_device_operations sd_fops = {
        .owner                  = THIS_MODULE,
        .open                   = sd_open,
        .release                = sd_release,