summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-02-06 09:25:17 +0100
committerJoerg Roedel <joro@8bytes.org>2013-02-07 21:53:29 +0100
commit77e383504791008cdbab1b33d70b395ca3a361c8 (patch)
treee48f10c5b4142868932cbb830881d111dddcab70 /drivers/iommu
parentARM: EXYNOS: remove system mmu initialization from exynos tree (diff)
downloadlinux-77e383504791008cdbab1b33d70b395ca3a361c8.tar.xz
linux-77e383504791008cdbab1b33d70b395ca3a361c8.zip
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 7fe44f83cc37..238a3caa949a 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;