summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2012-01-02 09:39:40 +0800
committerAndy Green <andy.green@linaro.org>2012-01-09 08:39:48 +0800
commit419cd2aca71f5ed0a983fcf9497f4fc8b7929155 (patch)
treea72ffce89327c2529c603a8b9695b996c5423231
parentc26aff42cb3c56c19f32ce3c3c0809f7d61a1578 (diff)
omap iommu add back old iommu get put
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--arch/arm/mach-omap2/omap-iommu.c2
-rw-r--r--arch/arm/plat-omap/include/plat/iommu.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c
index a218a41213e..2c953cb8200 100644
--- a/arch/arm/mach-omap2/omap-iommu.c
+++ b/arch/arm/mach-omap2/omap-iommu.c
@@ -107,7 +107,7 @@ struct device *omap_iommu_get_dev(const char *dev_name)
}
EXPORT_SYMBOL(omap_iommu_get_dev);
-#if 0
+#if 1
/**
* * iommu_get - Get iommu handler
diff --git a/arch/arm/plat-omap/include/plat/iommu.h b/arch/arm/plat-omap/include/plat/iommu.h
index 533b0695f52..360309fac59 100644
--- a/arch/arm/plat-omap/include/plat/iommu.h
+++ b/arch/arm/plat-omap/include/plat/iommu.h
@@ -190,8 +190,8 @@ extern void iommu_set_twl(struct omap_iommu *obj, bool on);
extern void flush_iotlb_range(struct omap_iommu *obj, u32 start, u32 end);
extern int iommu_set_da_range(struct omap_iommu *obj, u32 start, u32 end);
-//extern struct omap_iommu *iommu_get(const char *name);
-//extern void iommu_put(struct omap_iommu *obj);
+extern struct omap_iommu *iommu_get(const char *name);
+extern void iommu_put(struct omap_iommu *obj);
extern void omap_iommu_save_ctx(struct omap_iommu *obj);
extern void omap_iommu_restore_ctx(struct omap_iommu *obj);