浏览代码

qcacmn: Add macro protection for HIF CE

Add macro protection for HIF CE, it shouldn't include the ce head file
when the module is usb or sdio.

Change-Id: Icc38ffaa24581141f86d41afe2db7c5aa944a1cd
CRs-Fixed: 2090621
tfyu 7 年之前
父节点
当前提交
6c7625b2ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hif/src/hif_main.c

+ 1 - 1
hif/src/hif_main.c

@@ -40,12 +40,12 @@
 #include "hif_hw_version.h"
 #if defined(HIF_PCI) || defined(HIF_SNOC) || defined(HIF_AHB)
 #include "ce_tasklet.h"
+#include "ce_api.h"
 #endif
 #include "qdf_trace.h"
 #include "qdf_status.h"
 #include "hif_debug.h"
 #include "mp_dev.h"
-#include "ce_api.h"
 #ifdef QCA_WIFI_QCA8074
 #include "hal_api.h"
 #endif