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:
@@ -30,11 +30,13 @@
|
|||||||
*/
|
*/
|
||||||
#ifndef _CDP_TXRX_IPA_H_
|
#ifndef _CDP_TXRX_IPA_H_
|
||||||
#define _CDP_TXRX_IPA_H_
|
#define _CDP_TXRX_IPA_H_
|
||||||
|
|
||||||
|
#ifdef IPA_OFFLOAD
|
||||||
|
|
||||||
#include <linux/ipa.h>
|
#include <linux/ipa.h>
|
||||||
#include <cdp_txrx_mob_def.h>
|
#include <cdp_txrx_mob_def.h>
|
||||||
#include "cdp_txrx_handle.h"
|
#include "cdp_txrx_handle.h"
|
||||||
|
|
||||||
#ifdef IPA_OFFLOAD
|
|
||||||
/**
|
/**
|
||||||
* cdp_ipa_get_resource() - Get allocated WLAN resources for IPA data path
|
* cdp_ipa_get_resource() - Get allocated WLAN resources for IPA data path
|
||||||
* @soc - data path soc handle
|
* @soc - data path soc handle
|
||||||
|
Reference in New Issue
Block a user