summaryrefslogtreecommitdiff
path: root/sys-kernel/broadcom-sta-dkms/files/kernel-5.17.patch
blob: 3407c4ecc5e45f52cb7b2d0659960220284300c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/wl/sys/wl_linux.c	2015-09-19 00:47:30.000000000 +0200
+++ b/src/wl/sys/wl_linux.c	2022-03-22 10:39:20.763751076 +0100
@@ -3244,7 +3244,7 @@
 static ssize_t
 wl_proc_read(struct file *filp, char __user *buffer, size_t length, loff_t *offp)
 {
-	wl_info_t * wl = PDE_DATA(file_inode(filp));
+	wl_info_t * wl = pde_data(file_inode(filp));
 #endif
 	int bcmerror, len;
 	int to_user = 0;
@@ -3301,7 +3301,7 @@
 static ssize_t
 wl_proc_write(struct file *filp, const char __user *buff, size_t length, loff_t *offp)
 {
-	wl_info_t * wl = PDE_DATA(file_inode(filp));
+	wl_info_t * wl = pde_data(file_inode(filp));
 #endif
 	int from_user = 0;
 	int bcmerror;