mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
const: constify remaining file_operations
[[email protected]: fix KVM] Signed-off-by: Alexey Dobriyan <[email protected]> Acked-by: Mike Frysinger <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1c4115e595
commit
828c09509b
57 changed files with 110 additions and 95 deletions
|
|
@ -2625,7 +2625,7 @@ static int vcpu_stat_get(void *_offset, u64 *val)
|
|||
|
||||
DEFINE_SIMPLE_ATTRIBUTE(vcpu_stat_fops, vcpu_stat_get, NULL, "%llu\n");
|
||||
|
||||
static struct file_operations *stat_fops[] = {
|
||||
static const struct file_operations *stat_fops[] = {
|
||||
[KVM_STAT_VCPU] = &vcpu_stat_fops,
|
||||
[KVM_STAT_VM] = &vm_stat_fops,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue