aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/bsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bsg.c b/block/bsg.c
index b8ddfc66f210..8e181ab3afb9 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -908,7 +908,7 @@ static long bsg_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
908 } 908 }
909} 909}
910 910
911static struct file_operations bsg_fops = { 911static const struct file_operations bsg_fops = {
912 .read = bsg_read, 912 .read = bsg_read,
913 .write = bsg_write, 913 .write = bsg_write,
914 .poll = bsg_poll, 914 .poll = bsg_poll,