OSDN Git Service

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 950446e..f85f4b3 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 2f3fbb3..b9ee28a 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 9f9facd..9338cb9 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 7ae9748..96337a8 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 1aa65e0..2dc7c93 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!! */