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>
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			333 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			333 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/driver/wl_linux.c
 | 
						|
+++ b/driver/wl_linux.c
 | 
						|
@@ -2762,7 +2762,6 @@ wl_monitor(wl_info_t *wl, wl_rxsts_t *rx
 | 
						|
 	bcopy(oskb->data + D11_PHY_HDR_LEN, pdata, oskb->len - D11_PHY_HDR_LEN);
 | 
						|
 
 | 
						|
 	skb->dev = wl->monitor;
 | 
						|
-	skb->dev->last_rx = jiffies;
 | 
						|
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
 | 
						|
 	skb_reset_mac_header(skb);
 | 
						|
 #else
 |