]> git.baikalelectronics.ru Git - kernel.git/commitdiff
hostap: convert to struct proc_ops
authorYueHaibing <yuehaibing@huawei.com>
Thu, 26 Mar 2020 03:24:32 +0000 (11:24 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 26 Mar 2020 19:23:28 +0000 (21:23 +0200)
commit 83034c42fefc ("proc: convert everything to "struct proc_ops"")
forget do this convering for prism2_download_aux_dump_proc_fops.

Fixes: 83034c42fefc ("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
drivers/net/wireless/intersil/hostap/hostap_download.c

index 8722000b6c27e17f789b1d98e2d5176da1419d38..7c6a5a6d1d45d8057bd008ed6dda043921ab490e 100644 (file)
@@ -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,
 };