mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -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
|
|
@ -125,7 +125,7 @@ static int qstat_seq_open(struct inode *inode, struct file *filp)
|
|||
filp->f_path.dentry->d_inode->i_private);
|
||||
}
|
||||
|
||||
static struct file_operations debugfs_fops = {
|
||||
static const struct file_operations debugfs_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = qstat_seq_open,
|
||||
.read = seq_read,
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ static int qdio_perf_seq_open(struct inode *inode, struct file *filp)
|
|||
return single_open(filp, qdio_perf_proc_show, NULL);
|
||||
}
|
||||
|
||||
static struct file_operations qdio_perf_proc_fops = {
|
||||
static const struct file_operations qdio_perf_proc_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = qdio_perf_seq_open,
|
||||
.read = seq_read,
|
||||
|
|
|
|||
Loading…
Reference in a new issue