[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200309182255.20142-2-sibis@codeaurora.org>
Date: Mon, 9 Mar 2020 23:52:53 +0530
From: Sibi Sankar <sibis@...eaurora.org>
To: bjorn.andersson@...aro.org, robh+dt@...nel.org, joro@...tes.org
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org, iommu@...ts.linux-foundation.org,
linux-remoteproc@...r.kernel.org, ohad@...ery.com,
agross@...nel.org, Sibi Sankar <sibis@...eaurora.org>
Subject: [PATCH 1/3] iommu: Export "iommu_request_dm_for_dev"
Export "iommu_request_dm_for_dev" to allow for modular builds of
drivers requesting for direct mapping.
Signed-off-by: Sibi Sankar <sibis@...eaurora.org>
---
drivers/iommu/iommu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 3e3528436e0b2..06a36230fe22d 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -2353,6 +2353,7 @@ int iommu_request_dm_for_dev(struct device *dev)
{
return request_default_domain_for_dev(dev, IOMMU_DOMAIN_IDENTITY);
}
+EXPORT_SYMBOL_GPL(iommu_request_dm_for_dev);
/* Request that a device can't be direct mapped by the IOMMU */
int iommu_request_dma_domain_for_dev(struct device *dev)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists