From 6c7625b2caaadbe9c005397477613e8db56f51f8 Mon Sep 17 00:00:00 2001 From: tfyu Date: Thu, 10 Aug 2017 16:20:32 +0800 Subject: [PATCH] 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 --- hif/src/hif_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c index 715044d3c2ba..15259bcb560b 100644 --- a/hif/src/hif_main.c +++ b/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