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
This commit is contained in:
Dustin Brown
2017-09-18 14:55:42 -07:00
committed by snandini
parent 052b32a5b3
commit 833077d4a1

View File

@@ -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