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
This commit is contained in:
Sravan Kumar Kairam
2019-03-25 16:49:28 +05:30
committed by nshrivas
orang tua a95ea4f9ee
melakukan dda9f66849

Melihat File

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