aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intersil
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-03-26 11:24:32 +0800
committerKalle Valo <kvalo@codeaurora.org>2020-03-26 21:23:28 +0200
commit3af4da165f487a3956fe5a7b4ee08b12c7a3a9af (patch)
tree5bf283adea3f2aa317a08c43bfa1b5b84b198bb7 /drivers/net/wireless/intersil
parentrtw88: fix non-increase management packet sequence number (diff)
downloadlinux-dev-3af4da165f487a3956fe5a7b4ee08b12c7a3a9af.tar.xz
linux-dev-3af4da165f487a3956fe5a7b4ee08b12c7a3a9af.zip
hostap: convert to struct proc_ops
commit 97a32539b956 ("proc: convert everything to "struct proc_ops"") forget do this convering for prism2_download_aux_dump_proc_fops. Fixes: 97a32539b956 ("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
Diffstat (limited to 'drivers/net/wireless/intersil')
-rw-r--r--drivers/net/wireless/intersil/hostap/hostap_download.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/intersil/hostap/hostap_download.c b/drivers/net/wireless/intersil/hostap/hostap_download.c
index 8722000b6c27..7c6a5a6d1d45 100644
--- a/drivers/net/wireless/intersil/hostap/hostap_download.c
+++ b/drivers/net/wireless/intersil/hostap/hostap_download.c
@@ -232,11 +232,11 @@ static int prism2_download_aux_dump_proc_open(struct inode *inode, struct file *
return ret;
}
-static const struct file_operations prism2_download_aux_dump_proc_fops = {
- .open = prism2_download_aux_dump_proc_open,
- .read = seq_read,
- .llseek = seq_lseek,
- .release = seq_release_private,
+static const struct proc_ops prism2_download_aux_dump_proc_ops = {
+ .proc_open = prism2_download_aux_dump_proc_open,
+ .proc_read = seq_read,
+ .proc_lseek = seq_lseek,
+ .proc_release = seq_release_private,
};