diff options
author | Suman Anna <s-anna@ti.com> | 2014-10-22 18:22:24 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-10-23 08:32:25 -0400 |
commit | 3acb04ca5ea4e03c5718a87b713b2fd6f7f52b51 (patch) | |
tree | bd44afe720aece9072f3f2b4b35095aa0ba0f864 /drivers/iommu/omap-iommu.c | |
parent | 2b313dd13a1690b9c4e2a968feea890838b77b81 (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.c')
-rw-r--r-- | drivers/iommu/omap-iommu.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index ea04e4d30bbf..f9efa6ba99f5 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c | |||
@@ -138,15 +138,6 @@ void omap_iommu_restore_ctx(struct device *dev) | |||
138 | } | 138 | } |
139 | EXPORT_SYMBOL_GPL(omap_iommu_restore_ctx); | 139 | EXPORT_SYMBOL_GPL(omap_iommu_restore_ctx); |
140 | 140 | ||
141 | /** | ||
142 | * omap_iommu_arch_version - Return running iommu arch version | ||
143 | **/ | ||
144 | u32 omap_iommu_arch_version(void) | ||
145 | { | ||
146 | return arch_iommu->version; | ||
147 | } | ||
148 | EXPORT_SYMBOL_GPL(omap_iommu_arch_version); | ||
149 | |||
150 | static int iommu_enable(struct omap_iommu *obj) | 141 | static int iommu_enable(struct omap_iommu *obj) |
151 | { | 142 | { |
152 | int err; | 143 | int err; |