staging: rtl8723au: Fix compiling with CONFIG_8723AU_BT_COEXIST=n
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:37:25 +0000 (09:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:40 +0000 (16:27 +0900)
Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/Makefile
drivers/staging/rtl8723au/core/rtw_cmd.c
drivers/staging/rtl8723au/core/rtw_mlme_ext.c
drivers/staging/rtl8723au/core/rtw_pwrctrl.c
drivers/staging/rtl8723au/include/rtl8723a_hal.h

index 950446e4ee1befaf39e4b442830fb95e71700c8a..f85f4b38bccf5de2d0d0f7c19fa47e336a396d35 100644 (file)
@@ -24,7 +24,6 @@ r8723au-y :=                          \
                hal/HalHWImg8723A_RF.o  \
                hal/HalPwrSeqCmd.o      \
                hal/odm_RegConfig8723A.o \
-               hal/rtl8723a_bt-coexist.o \
                hal/odm_debug.o         \
                hal/odm_interface.o     \
                hal/odm_HWConfig.o      \
@@ -50,6 +49,8 @@ r8723au-y :=                          \
                os_dep/usb_ops_linux.o  \
                os_dep/xmit_linux.o
 
+r8723au-$(CONFIG_8723AU_BT_COEXIST) += hal/rtl8723a_bt-coexist.o
+
 obj-$(CONFIG_R8723AU)  := r8723au.o
 
 ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/include
index 2f3fbb3d1bbbc4323e8bc6958696d4e18d9f53cc..b9ee28a8730c21b6652fe46478a4bad5787b06a6 100644 (file)
@@ -19,6 +19,7 @@
 #include <recv_osdep.h>
 #include <mlme_osdep.h>
 #include <rtl8723a_cmd.h>
+#include <rtw_sreset.h>
 
 #ifdef CONFIG_8723AU_BT_COEXIST
 #include <rtl8723a_hal.h>
index 9f9facd4a28aece1a7415cc3f6056f146ef31c3d..9338cb94167cbf17ef173bde421f438fd17b4dc6 100644 (file)
 #include <mlme_osdep.h>
 #include <recv_osdep.h>
 #include <linux/ieee80211.h>
-
-#ifdef CONFIG_8723AU_BT_COEXIST
 #include <rtl8723a_hal.h>
-#endif
 
 static int OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame);
 static int OnAssocRsp23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame);
index 7ae9748dcd7b14feb5bc39e80a2cec74f806b6c5..96337a87b1d8132f6a1448051472737101e750f3 100644 (file)
@@ -18,6 +18,7 @@
 #include <drv_types.h>
 #include <osdep_intf.h>
 #include <rtl8723a_cmd.h>
+#include <rtw_sreset.h>
 
 #ifdef CONFIG_8723AU_BT_COEXIST
 #include <rtl8723a_hal.h>
index 1aa65e067209aff56c45b85e8e3b100d0207bda2..2dc7c93df62e67b635b44d7f93947287ba0af8ce 100644 (file)
 #include "rtl8723a_cmd.h"
 #include "rtl8723a_sreset.h"
 #include "rtw_efuse.h"
+#include "rtw_eeprom.h"
 
 #include "odm_precomp.h"
+#include "odm.h"
 
 
 /* 2TODO: We should define 8192S firmware related macro settings here!! */