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
@ -966,7 +966,7 @@ static ssize_t o2hb_debug_read(struct file *file, char __user *buf,
|
||||
}
|
||||
#endif /* CONFIG_DEBUG_FS */
|
||||
|
||||
static struct file_operations o2hb_debug_fops = {
|
||||
static const struct file_operations o2hb_debug_fops = {
|
||||
.open = o2hb_debug_open,
|
||||
.release = o2hb_debug_release,
|
||||
.read = o2hb_debug_read,
|
||||
|
Reference in New Issue
Block a user