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:
Alexey Dobriyan 2009-09-21 17:01:13 -07:00 committed by Linus Torvalds
parent 7b021967c5
commit 83d5cde47d
56 changed files with 59 additions and 61 deletions

View file

@ -1438,7 +1438,7 @@ out_unlocked:
return 0;
}
static struct block_device_operations lo_fops = {
static const struct block_device_operations lo_fops = {
.owner = THIS_MODULE,
.open = lo_open,
.release = lo_release,