diff options
Diffstat (limited to 'drivers/cdrom/gdrom.c')
-rw-r--r-- | drivers/cdrom/gdrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c index b5621f27c4be..a762283d2a21 100644 --- a/drivers/cdrom/gdrom.c +++ b/drivers/cdrom/gdrom.c | |||
@@ -512,7 +512,7 @@ static int gdrom_bdops_ioctl(struct block_device *bdev, fmode_t mode, | |||
512 | return cdrom_ioctl(gd.cd_info, bdev, mode, cmd, arg); | 512 | return cdrom_ioctl(gd.cd_info, bdev, mode, cmd, arg); |
513 | } | 513 | } |
514 | 514 | ||
515 | static struct block_device_operations gdrom_bdops = { | 515 | static const struct block_device_operations gdrom_bdops = { |
516 | .owner = THIS_MODULE, | 516 | .owner = THIS_MODULE, |
517 | .open = gdrom_bdops_open, | 517 | .open = gdrom_bdops_open, |
518 | .release = gdrom_bdops_release, | 518 | .release = gdrom_bdops_release, |