aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2011-08-17 15:29:46 -0400
committerJoerg Roedel <joerg.roedel@amd.com>2011-08-26 05:46:01 -0400
commit384fa675795ae3796dbc263e5d0f35b9a27d6462 (patch)
tree3570a652de62f5a35f8421ab03ead183319dfeab /arch/arm
parent5a6a5b1bcca3247e9161ccada488965c94012c48 (diff)
omap: iommu: remove unused exported API
Remove unused public APIs from OMAP's iommu driver. IOMMU functionality should be exposed only via the generic IOMMU API; this way drivers stay generic, and different IOMMU drivers don't need to duplicate similar functionalities. The rest of the API still exposed by OMAP's iommu will be evaluated and eventually either added to the generic IOMMU API (if relevant), or completely removed. The intention is that OMAP's iommu driver will eventually not expose any public API. Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-omap/include/plat/iommu.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/iommu.h b/arch/arm/plat-omap/include/plat/iommu.h
index 4e9c05c2fdc1..9ae1e279864a 100644
--- a/arch/arm/plat-omap/include/plat/iommu.h
+++ b/arch/arm/plat-omap/include/plat/iommu.h
@@ -153,12 +153,9 @@ struct iommu_platform_data {
153extern u32 iommu_arch_version(void); 153extern u32 iommu_arch_version(void);
154 154
155extern void iotlb_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e); 155extern void iotlb_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e);
156extern void iommu_set_twl(struct iommu *obj, bool on);
157extern void flush_iotlb_range(struct iommu *obj, u32 start, u32 end);
158 156
159extern int iopgtable_store_entry(struct iommu *obj, struct iotlb_entry *e); 157extern int iopgtable_store_entry(struct iommu *obj, struct iotlb_entry *e);
160 158
161extern int iommu_set_da_range(struct iommu *obj, u32 start, u32 end);
162extern int iommu_set_isr(const char *name, 159extern int iommu_set_isr(const char *name,
163 int (*isr)(struct iommu *obj, u32 da, u32 iommu_errs, 160 int (*isr)(struct iommu *obj, u32 da, u32 iommu_errs,
164 void *priv), 161 void *priv),