diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-12-22 14:26:02 -0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-06-27 22:34:05 +0200 |
commit | d989124c02bf5662ccf638d361229bd5ea7bcd93 (patch) | |
tree | b175c0824593fb449bffe5a5935c46c97503f4bd /package/kernel/broadcom-wl/patches/916-fix-compilation-for-5_4.patch | |
parent | d8f8c78d967c4c0b83e3ff045a4340932af38e4e (diff) | |
download | upstream-d989124c02bf5662ccf638d361229bd5ea7bcd93.tar.gz upstream-d989124c02bf5662ccf638d361229bd5ea7bcd93.tar.bz2 upstream-d989124c02bf5662ccf638d361229bd5ea7bcd93.zip |
broadcom-wl: Fix compilation with kernel 5.10
This adds a few fixes for compiling against Linux 5.10:
1. segment_eq() has been removed with upstream commit
428e2976a5bf7e7f5554286d7a5a33b8147b106a ("uaccess: remove
segment_eq") and can use uaccess_kernel() instead
2. ioremap_nocache() is removed and is now an alias for ioremap() with
upstream commit 4bdc0d676a643140bdf17dbf7eafedee3d496a3c ("remove
ioremap_nocache and devm_ioremap_nocache")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
(cherry picked from commit cd3de51bb4a18f922a961fdeb42c1c8f1f80b425)
Diffstat (limited to 'package/kernel/broadcom-wl/patches/916-fix-compilation-for-5_4.patch')
-rw-r--r-- | package/kernel/broadcom-wl/patches/916-fix-compilation-for-5_4.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/broadcom-wl/patches/916-fix-compilation-for-5_4.patch b/package/kernel/broadcom-wl/patches/916-fix-compilation-for-5_4.patch index bc7b63df08..e59c95722c 100644 --- a/package/kernel/broadcom-wl/patches/916-fix-compilation-for-5_4.patch +++ b/package/kernel/broadcom-wl/patches/916-fix-compilation-for-5_4.patch @@ -1,6 +1,6 @@ --- a/driver/wl_iw.c +++ b/driver/wl_iw.c -@@ -112,10 +112,14 @@ +@@ -112,10 +112,14 @@ dev_wlc_ioctl( ifr.ifr_data = (caddr_t) &ioc; /* Must be up for virtually all useful ioctls */ |