Commit 96808173 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Fix compiling with CONFIG_8723AU_BT_COEXIST=n

Reported-by: default avatarJim Davis <jim.epost@gmail.com>
Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0629f3b8
...@@ -24,7 +24,6 @@ r8723au-y := \ ...@@ -24,7 +24,6 @@ r8723au-y := \
hal/HalHWImg8723A_RF.o \ hal/HalHWImg8723A_RF.o \
hal/HalPwrSeqCmd.o \ hal/HalPwrSeqCmd.o \
hal/odm_RegConfig8723A.o \ hal/odm_RegConfig8723A.o \
hal/rtl8723a_bt-coexist.o \
hal/odm_debug.o \ hal/odm_debug.o \
hal/odm_interface.o \ hal/odm_interface.o \
hal/odm_HWConfig.o \ hal/odm_HWConfig.o \
...@@ -50,6 +49,8 @@ r8723au-y := \ ...@@ -50,6 +49,8 @@ r8723au-y := \
os_dep/usb_ops_linux.o \ os_dep/usb_ops_linux.o \
os_dep/xmit_linux.o os_dep/xmit_linux.o
r8723au-$(CONFIG_8723AU_BT_COEXIST) += hal/rtl8723a_bt-coexist.o
obj-$(CONFIG_R8723AU) := r8723au.o obj-$(CONFIG_R8723AU) := r8723au.o
ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/include ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/include
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <recv_osdep.h> #include <recv_osdep.h>
#include <mlme_osdep.h> #include <mlme_osdep.h>
#include <rtl8723a_cmd.h> #include <rtl8723a_cmd.h>
#include <rtw_sreset.h>
#ifdef CONFIG_8723AU_BT_COEXIST #ifdef CONFIG_8723AU_BT_COEXIST
#include <rtl8723a_hal.h> #include <rtl8723a_hal.h>
......
...@@ -22,10 +22,7 @@ ...@@ -22,10 +22,7 @@
#include <mlme_osdep.h> #include <mlme_osdep.h>
#include <recv_osdep.h> #include <recv_osdep.h>
#include <linux/ieee80211.h> #include <linux/ieee80211.h>
#ifdef CONFIG_8723AU_BT_COEXIST
#include <rtl8723a_hal.h> #include <rtl8723a_hal.h>
#endif
static int OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame); static int OnAssocReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame);
static int OnAssocRsp23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame); static int OnAssocRsp23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame);
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <drv_types.h> #include <drv_types.h>
#include <osdep_intf.h> #include <osdep_intf.h>
#include <rtl8723a_cmd.h> #include <rtl8723a_cmd.h>
#include <rtw_sreset.h>
#ifdef CONFIG_8723AU_BT_COEXIST #ifdef CONFIG_8723AU_BT_COEXIST
#include <rtl8723a_hal.h> #include <rtl8723a_hal.h>
......
...@@ -29,8 +29,10 @@ ...@@ -29,8 +29,10 @@
#include "rtl8723a_cmd.h" #include "rtl8723a_cmd.h"
#include "rtl8723a_sreset.h" #include "rtl8723a_sreset.h"
#include "rtw_efuse.h" #include "rtw_efuse.h"
#include "rtw_eeprom.h"
#include "odm_precomp.h" #include "odm_precomp.h"
#include "odm.h"
/* 2TODO: We should define 8192S firmware related macro settings here!! */ /* 2TODO: We should define 8192S firmware related macro settings here!! */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment