diff options
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-cd.c | 2 | ||||
-rw-r--r-- | drivers/ide/ide-gd.c | 2 | ||||
-rw-r--r-- | drivers/ide/ide-tape.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index b79ca419d8d9..64207df8da82 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -1686,7 +1686,7 @@ static int idecd_revalidate_disk(struct gendisk *disk) | |||
1686 | return 0; | 1686 | return 0; |
1687 | } | 1687 | } |
1688 | 1688 | ||
1689 | static struct block_device_operations idecd_ops = { | 1689 | static const struct block_device_operations idecd_ops = { |
1690 | .owner = THIS_MODULE, | 1690 | .owner = THIS_MODULE, |
1691 | .open = idecd_open, | 1691 | .open = idecd_open, |
1692 | .release = idecd_release, | 1692 | .release = idecd_release, |
diff --git a/drivers/ide/ide-gd.c b/drivers/ide/ide-gd.c index 214119026b3f..753241429c26 100644 --- a/drivers/ide/ide-gd.c +++ b/drivers/ide/ide-gd.c | |||
@@ -321,7 +321,7 @@ static int ide_gd_ioctl(struct block_device *bdev, fmode_t mode, | |||
321 | return drive->disk_ops->ioctl(drive, bdev, mode, cmd, arg); | 321 | return drive->disk_ops->ioctl(drive, bdev, mode, cmd, arg); |
322 | } | 322 | } |
323 | 323 | ||
324 | static struct block_device_operations ide_gd_ops = { | 324 | static const struct block_device_operations ide_gd_ops = { |
325 | .owner = THIS_MODULE, | 325 | .owner = THIS_MODULE, |
326 | .open = ide_gd_open, | 326 | .open = ide_gd_open, |
327 | .release = ide_gd_release, | 327 | .release = ide_gd_release, |
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 9d6f62baac27..58fc920d5c32 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -1913,7 +1913,7 @@ static int idetape_ioctl(struct block_device *bdev, fmode_t mode, | |||
1913 | return err; | 1913 | return err; |
1914 | } | 1914 | } |
1915 | 1915 | ||
1916 | static struct block_device_operations idetape_block_ops = { | 1916 | static const struct block_device_operations idetape_block_ops = { |
1917 | .owner = THIS_MODULE, | 1917 | .owner = THIS_MODULE, |
1918 | .open = idetape_open, | 1918 | .open = idetape_open, |
1919 | .release = idetape_release, | 1919 | .release = idetape_release, |