aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/omap-iommu.h
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2014-10-22 18:22:24 -0400
committerJoerg Roedel <jroedel@suse.de>2014-10-23 08:32:25 -0400
commit3acb04ca5ea4e03c5718a87b713b2fd6f7f52b51 (patch)
treebd44afe720aece9072f3f2b4b35095aa0ba0f864 /drivers/iommu/omap-iommu.h
parent2b313dd13a1690b9c4e2a968feea890838b77b81 (diff)
iommu/omap: Remove omap_iommu_arch_version() and version field
The function omap_iommu_arch_version() is not used anymore, and is not required either, so remove it. The .version field in struct iommu_functions that this function uses is also removed, as it is not really an ops to retrieve a version and there won't be any usage for this field either. Signed-off-by: Suman Anna <s-anna@ti.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/omap-iommu.h')
-rw-r--r--drivers/iommu/omap-iommu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/iommu/omap-iommu.h b/drivers/iommu/omap-iommu.h
index d7c51327cd25..45fe67d641e2 100644
--- a/drivers/iommu/omap-iommu.h
+++ b/drivers/iommu/omap-iommu.h
@@ -70,8 +70,6 @@ struct cr_regs {
70 70
71/* architecture specific functions */ 71/* architecture specific functions */
72struct iommu_functions { 72struct iommu_functions {
73 unsigned long version;
74
75 int (*enable)(struct omap_iommu *obj); 73 int (*enable)(struct omap_iommu *obj);
76 void (*disable)(struct omap_iommu *obj); 74 void (*disable)(struct omap_iommu *obj);
77 void (*set_twl)(struct omap_iommu *obj, bool on); 75 void (*set_twl)(struct omap_iommu *obj, bool on);
@@ -191,8 +189,6 @@ static inline struct omap_iommu *dev_to_omap_iommu(struct device *dev)
191/* 189/*
192 * global functions 190 * global functions
193 */ 191 */
194extern u32 omap_iommu_arch_version(void);
195
196extern void omap_iotlb_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e); 192extern void omap_iotlb_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e);
197 193
198extern int 194extern int