From 833077d4a10e848cbed058f841d7c7aec9c03439 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Mon, 18 Sep 2017 14:55:42 -0700 Subject: [PATCH] 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 --- dp/inc/cdp_txrx_ipa.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dp/inc/cdp_txrx_ipa.h b/dp/inc/cdp_txrx_ipa.h index f61adf948f54..84a35d163c49 100644 --- a/dp/inc/cdp_txrx_ipa.h +++ b/dp/inc/cdp_txrx_ipa.h @@ -30,11 +30,13 @@ */ #ifndef _CDP_TXRX_IPA_H_ #define _CDP_TXRX_IPA_H_ + +#ifdef IPA_OFFLOAD + #include #include #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