kernel: properly condition EM919x patch
[openwrt/openwrt.git] / package / kernel / rtl8812au-ct / patches / 001-use-kernel-byteorder.patch
1 Fix compile problem when rtw_byteorder.h and asm/byteorder.h gets
2 included in addition for example indirectly, do not use realtek own copy
3 of the byteorder headers.
4
5 --- a/include/drv_types.h
6 +++ b/include/drv_types.h
7 @@ -30,7 +30,7 @@
8 #include <drv_conf.h>
9 #include <basic_types.h>
10 #include <osdep_service.h>
11 -#include <rtw_byteorder.h>
12 +#include <asm/byteorder.h>
13 #include <wlan_bssdef.h>
14 #include <wifi.h>
15 #include <ieee80211.h>