diff options
Diffstat (limited to 'drivers/scsi/sr.c')
-rw-r--r-- | drivers/scsi/sr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index cce0fe4c8a3b..eb61f7a70e1d 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c | |||
@@ -525,7 +525,7 @@ static int sr_block_media_changed(struct gendisk *disk) | |||
525 | return cdrom_media_changed(&cd->cdi); | 525 | return cdrom_media_changed(&cd->cdi); |
526 | } | 526 | } |
527 | 527 | ||
528 | static struct block_device_operations sr_bdops = | 528 | static const struct block_device_operations sr_bdops = |
529 | { | 529 | { |
530 | .owner = THIS_MODULE, | 530 | .owner = THIS_MODULE, |
531 | .open = sr_block_open, | 531 | .open = sr_block_open, |