From 1047ea9c6b67149a6dfdacb173e340e923a49c93 Mon Sep 17 00:00:00 2001 From: Chaoli Zhou Date: Fri, 27 Dec 2019 19:09:42 +0800 Subject: [PATCH] qcacmn: Support get is_over_gsi from IPA driver For Genoa, it use IPA GSI, and whether gsi enabled or not decided by ipa dts setting, which should get from IPA driver, so add such information. Change-Id: I6321afaf35c57d7d5865b896193ab1d44042ee4c --- qdf/linux/src/i_qdf_ipa_wdi3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qdf/linux/src/i_qdf_ipa_wdi3.h b/qdf/linux/src/i_qdf_ipa_wdi3.h index b7d8d79b002f..1b7ee00a39e9 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-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2020, 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,7 +57,7 @@ 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 +#if (defined(IPA_WDI3_GSI)) || (defined(IPA_WDI2_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