diff options
Diffstat (limited to 'block/blktrace.c')
-rw-r--r-- | block/blktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blktrace.c b/block/blktrace.c index d36b32ed22f4..3f0e7c37c059 100644 --- a/block/blktrace.c +++ b/block/blktrace.c | |||
@@ -264,7 +264,7 @@ static ssize_t blk_dropped_read(struct file *filp, char __user *buffer, | |||
264 | return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); | 264 | return simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); |
265 | } | 265 | } |
266 | 266 | ||
267 | static struct file_operations blk_dropped_fops = { | 267 | static const struct file_operations blk_dropped_fops = { |
268 | .owner = THIS_MODULE, | 268 | .owner = THIS_MODULE, |
269 | .open = blk_dropped_open, | 269 | .open = blk_dropped_open, |
270 | .read = blk_dropped_read, | 270 | .read = blk_dropped_read, |