qcacmn: Fix compiling issue of qdf_platform

qdf_platform.h/qdf_platform.c is only used by MCL

Change-Id: I8172f3dbe0716be24a4dda739afb49f94528a4f6
CRs-Fixed: 2310882
This commit is contained in:
Jianmin Zhu 2018-09-07 13:32:39 +08:00 • committed by Gerrit - the friendly Code Review server
commit ff034e9797

View file

@ -30,7 +30,9 @@
#include <target_if_reg.h>
#include <wmi_unified_reg_api.h>
#include <wlan_reg_ucfg_api.h>
#ifdef CONFIG_MCL
#include <qdf_platform.h>
#endif
static inline uint32_t get_chan_list_cc_event_id(void)
{
@ -103,10 +105,12 @@ static int tgt_reg_chan_list_update_handler(ol_scn_t handle,
TARGET_IF_ENTER();
#ifdef CONFIG_MCL
if (qdf_is_fw_down()) {
target_if_debug("ignore chan list update evt in ssr");
return 0;
}
#endif
psoc = target_if_get_psoc_from_scn_hdl(handle);
if (!psoc) {