Skip to content

Commit 3af4da1

Browse files
YueHaibingKalle Valo
authored andcommitted
hostap: convert to struct proc_ops
commit 97a3253 ("proc: convert everything to "struct proc_ops"") forget do this convering for prism2_download_aux_dump_proc_fops. Fixes: 97a3253 ("proc: convert everything to "struct proc_ops"") Signed-off-by: YueHaibing <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 2542469 commit 3af4da1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/net/wireless/intersil/hostap/hostap_download.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,11 @@ static int prism2_download_aux_dump_proc_open(struct inode *inode, struct file *
232232
return ret;
233233
}
234234

235-
static const struct file_operations prism2_download_aux_dump_proc_fops = {
236-
.open = prism2_download_aux_dump_proc_open,
237-
.read = seq_read,
238-
.llseek = seq_lseek,
239-
.release = seq_release_private,
235+
static const struct proc_ops prism2_download_aux_dump_proc_ops = {
236+
.proc_open = prism2_download_aux_dump_proc_open,
237+
.proc_read = seq_read,
238+
.proc_lseek = seq_lseek,
239+
.proc_release = seq_release_private,
240240
};
241241

242242

0 commit comments

Comments
 (0)