diff mbox

[1/1] iommu/exynos: Make exynos_sysmmu_disable static

Message ID 1360139117-6671-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Feb. 6, 2013, 8:25 a.m. UTC
'exynos_sysmmu_disable' is used only in this file and can be made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/iommu/exynos-iommu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Joerg Roedel Feb. 7, 2013, 8:55 p.m. UTC | #1
On Wed, Feb 06, 2013 at 01:55:17PM +0530, Sachin Kamat wrote:
> 'exynos_sysmmu_disable' is used only in this file and can be made static.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Applied to arm/exynos, thanks.
diff mbox

Patch

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;