linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hostap: Convert prism2_download_aux_dump_proc_fops to prism2_download_aux_dump_proc_ops
@ 2020-03-26  3:24 YueHaibing
  2020-03-26 19:24 ` [PATCH] hostap: convert to struct proc_ops Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-03-26  3:24 UTC (permalink / raw)
  To: j, kvalo, davem, yuehaibing, andriy.shevchenko, sfr, akpm, adobriyan
  Cc: linux-wireless, netdev, linux-kernel

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>
---
 drivers/net/wireless/intersil/hostap/hostap_download.c | 10 +++++-----
 1 file 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,
 };
 
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hostap: convert to struct proc_ops
  2020-03-26  3:24 [PATCH] hostap: Convert prism2_download_aux_dump_proc_fops to prism2_download_aux_dump_proc_ops YueHaibing
@ 2020-03-26 19:24 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2020-03-26 19:24 UTC (permalink / raw)
  To: YueHaibing
  Cc: j, davem, yuehaibing, andriy.shevchenko, sfr, akpm, adobriyan,
	linux-wireless, netdev, linux-kernel

YueHaibing <yuehaibing@huawei.com> wrote:

> 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>

Patch applied to wireless-drivers-next.git, thanks.

3af4da165f48 hostap: convert to struct proc_ops

-- 
https://patchwork.kernel.org/patch/11459139/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-26 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26  3:24 [PATCH] hostap: Convert prism2_download_aux_dump_proc_fops to prism2_download_aux_dump_proc_ops YueHaibing
2020-03-26 19:24 ` [PATCH] hostap: convert to struct proc_ops Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).