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
@@ -235,7 +235,7 @@ static int mspro_block_bd_getgeo(struct block_device *bdev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct block_device_operations ms_block_bdops = {
|
||||
static const struct block_device_operations ms_block_bdops = {
|
||||
.open = mspro_block_bd_open,
|
||||
.release = mspro_block_bd_release,
|
||||
.getgeo = mspro_block_bd_getgeo,
|
||||
|
Reference in New Issue
Block a user