diff options
Diffstat (limited to 'drivers/block/brd.c')
-rw-r--r-- | drivers/block/brd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/brd.c b/drivers/block/brd.c index 4bf8705b3ace..4f688434daf1 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c | |||
@@ -375,7 +375,7 @@ static int brd_ioctl(struct block_device *bdev, fmode_t mode, | |||
375 | return error; | 375 | return error; |
376 | } | 376 | } |
377 | 377 | ||
378 | static struct block_device_operations brd_fops = { | 378 | static const struct block_device_operations brd_fops = { |
379 | .owner = THIS_MODULE, | 379 | .owner = THIS_MODULE, |
380 | .locked_ioctl = brd_ioctl, | 380 | .locked_ioctl = brd_ioctl, |
381 | #ifdef CONFIG_BLK_DEV_XIP | 381 | #ifdef CONFIG_BLK_DEV_XIP |