Procházet zdrojové kódy

qcacmn: Move ipa.h include under #ifdef IPA_OFFLOAD

The WLAN driver should compile against kernels that do not include the
IPA driver. Move an ipa.h header file include under an IPA_OFFLOAD
feature guard to allow the driver to compile when IPA is not supported.

Change-Id: I4d8ca77bace273d16453b123daa0363de16bf5ea
CRs-Fixed: 2111891
Dustin Brown před 7 roky
rodič
revize
833077d4a1
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      dp/inc/cdp_txrx_ipa.h

+ 3 - 1
dp/inc/cdp_txrx_ipa.h

@@ -30,11 +30,13 @@
  */
 #ifndef _CDP_TXRX_IPA_H_
 #define _CDP_TXRX_IPA_H_
+
+#ifdef IPA_OFFLOAD
+
 #include <linux/ipa.h>
 #include <cdp_txrx_mob_def.h>
 #include "cdp_txrx_handle.h"
 
-#ifdef IPA_OFFLOAD
 /**
  * cdp_ipa_get_resource() - Get allocated WLAN resources for IPA data path
  * @soc - data path soc handle