const: constify remaining file_operations
[akpm@linux-foundation.org: fix KVM] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org> 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
1c4115e595
commit
828c09509b
@@ -28,7 +28,7 @@ static int my_open(struct inode *inode, struct file *file)
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
static struct file_operations mark_ops = {
|
||||
static const struct file_operations mark_ops = {
|
||||
.open = my_open,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user