aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/rtl8812au-ct/patches/001-use-kernel-byteorder.patch
blob: dd42b12438b878ff155372a55fb8e0b78cb52254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix compile problem when rtw_byteorder.h and asm/byteorder.h gets 
included in addition for example indirectly, do not use realtek own copy 
of the byteorder headers.

--- a/include/drv_types.h
+++ b/include/drv_types.h
@@ -30,7 +30,7 @@
 #include <drv_conf.h>
 #include <basic_types.h>
 #include <osdep_service.h>
-#include <rtw_byteorder.h>
+#include <asm/byteorder.h>
 #include <wlan_bssdef.h>
 #include <wifi.h>
 #include <ieee80211.h>