cnss2: remove deprecated IOMMU APIs

IOMMU mapping APIs have been deprecated in favor of device
tree entries. Update CNSS functions as required. Keep the
old API and structure for backward compatibility. They will
be removed once WLAN driver switch to the new APIs.

CRs-Fixed: 2409946
Change-Id: I8b50fefd0acd9e48670e350d20da7b0633e336b3
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
diff --git a/drivers/net/wireless/cnss2/pci.h b/drivers/net/wireless/cnss2/pci.h
index 87e0c1b..43e42d1 100644
--- a/drivers/net/wireless/cnss2/pci.h
+++ b/drivers/net/wireless/cnss2/pci.h
@@ -56,7 +56,8 @@
 	struct msm_pcie_register_event msm_pci_event;
 	atomic_t auto_suspended;
 	u8 monitor_wake_intr;
-	struct dma_iommu_mapping *smmu_mapping;
+	struct dma_iommu_mapping smmu_mapping;
+	struct iommu_domain *iommu_domain;
 	u8 smmu_s1_enable;
 	dma_addr_t smmu_iova_start;
 	size_t smmu_iova_len;