broadcom-wl: Fix compilation with kernel 5.10
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 22 Dec 2021 22:26:02 +0000 (14:26 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 27 Jun 2022 20:34:05 +0000 (22:34 +0200)
commitd989124c02bf5662ccf638d361229bd5ea7bcd93
treeb175c0824593fb449bffe5a5935c46c97503f4bd
parentd8f8c78d967c4c0b83e3ff045a4340932af38e4e
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)
package/kernel/broadcom-wl/patches/040-remove_last_rx_usage.patch
package/kernel/broadcom-wl/patches/915-fix-wl_timer-for-4_15.patch
package/kernel/broadcom-wl/patches/916-fix-compilation-for-5_4.patch
package/kernel/broadcom-wl/patches/917-fix-compilation-for-5_10.patch [new file with mode: 0644]