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)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 20 Jun 2022 21:29:12 +0000 (14:29 -0700)
commitcd3de51bb4a18f922a961fdeb42c1c8f1f80b425
treea6b459e6ec6d7226baecf8f919453724df0e504c
parent22168ae68101b95d03741b0e9e8ad20b8a5ae5b7
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>
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]