From dda9f66849557f6ac2835b866b1c22d668d279cd Mon Sep 17 00:00:00 2001 From: Sravan Kumar Kairam Date: Mon, 25 Mar 2019 16:49:28 +0530 Subject: [PATCH] qcacmn: Resolve ipa compilation issue Resolve compilation for targets with config ipa unified api enable and have kernel version 4.9. Change-Id: Ice0bba024c11c4d5222a58941ac50fd90b139aaa CRs-Fixed: 2422170 --- qdf/linux/src/i_qdf_ipa_wdi3.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qdf/linux/src/i_qdf_ipa_wdi3.h b/qdf/linux/src/i_qdf_ipa_wdi3.h index 9224bad3e325..7eacd37a5989 100644 --- a/qdf/linux/src/i_qdf_ipa_wdi3.h +++ b/qdf/linux/src/i_qdf_ipa_wdi3.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -57,8 +57,13 @@ typedef struct ipa_wdi_init_out_params __qdf_ipa_wdi_init_out_params_t; (((struct ipa_wdi_init_out_params *)(out_params))->is_uC_ready) #define __QDF_IPA_WDI_INIT_OUT_PARAMS_IS_SMMU_ENABLED(out_params) \ (((struct ipa_wdi_init_out_params *)(out_params))->is_smmu_enabled) +#ifdef IPA_WDI3_GSI #define QDF_IPA_WDI_INIT_OUT_PARAMS_IS_OVER_GSI(out_params) \ (((struct ipa_wdi_init_out_params *)(out_params))->is_over_gsi) +#else +#define QDF_IPA_WDI_INIT_OUT_PARAMS_IS_OVER_GSI(out_params) \ + false +#endif /** * __qdf_ipa_wdi_hdr_info_t - Header to install on IPA HW