mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
hostap: convert to struct proc_ops
commit97a32539b9
("proc: convert everything to "struct proc_ops"") forget do this convering for prism2_download_aux_dump_proc_fops. Fixes:97a32539b9
("proc: convert everything to "struct proc_ops"") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200326032432.20384-1-yuehaibing@huawei.com
This commit is contained in:
parent
2542469d12
commit
3af4da165f
1 changed files with 5 additions and 5 deletions
|
@ -232,11 +232,11 @@ static int prism2_download_aux_dump_proc_open(struct inode *inode, struct file *
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct file_operations prism2_download_aux_dump_proc_fops = {
|
static const struct proc_ops prism2_download_aux_dump_proc_ops = {
|
||||||
.open = prism2_download_aux_dump_proc_open,
|
.proc_open = prism2_download_aux_dump_proc_open,
|
||||||
.read = seq_read,
|
.proc_read = seq_read,
|
||||||
.llseek = seq_lseek,
|
.proc_lseek = seq_lseek,
|
||||||
.release = seq_release_private,
|
.proc_release = seq_release_private,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue