const: make block_device_operations const
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
7b021967c5
commit
83d5cde47d
@ -925,7 +925,7 @@ static void i2o_block_request_fn(struct request_queue *q)
|
||||
};
|
||||
|
||||
/* I2O Block device operations definition */
|
||||
static struct block_device_operations i2o_block_fops = {
|
||||
static const struct block_device_operations i2o_block_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = i2o_block_open,
|
||||
.release = i2o_block_release,
|
||||
|
Reference in New Issue
Block a user