summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-02-06 13:55:17 +0530
committerJoerg Roedel <joro@8bytes.org>2013-02-07 21:53:29 +0100
commit77e383504791008cdbab1b33d70b395ca3a361c8 (patch)
treee48f10c5b4142868932cbb830881d111dddcab70 /drivers/iommu
parent25e9d28d927d2e1731df53f60cde53d75bcb7c36 (diff)
downloadop-kernel-dev-77e383504791008cdbab1b33d70b395ca3a361c8.zip
op-kernel-dev-77e383504791008cdbab1b33d70b395ca3a361c8.tar.gz
iommu/exynos: Make exynos_sysmmu_disable static
'exynos_sysmmu_disable' is used only in this file and can be made static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/exynos-iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 7fe44f8..238a3ca 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -511,7 +511,7 @@ int exynos_sysmmu_enable(struct device *dev, unsigned long pgtable)
return ret;
}
-bool exynos_sysmmu_disable(struct device *dev)
+static bool exynos_sysmmu_disable(struct device *dev)
{
struct sysmmu_drvdata *data = dev_get_drvdata(dev->archdata.iommu);
bool disabled;
OpenPOWER on IntegriCloud