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-iommu2.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-iommu2.c')
-rw-r--r-- | drivers/iommu/omap-iommu2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iommu/omap-iommu2.c b/drivers/iommu/omap-iommu2.c index 5e1ea3b0bf16..2f6a9f76c6ee 100644 --- a/drivers/iommu/omap-iommu2.c +++ b/drivers/iommu/omap-iommu2.c | |||
@@ -297,8 +297,6 @@ static void omap2_cr_to_e(struct cr_regs *cr, struct iotlb_entry *e) | |||
297 | } | 297 | } |
298 | 298 | ||
299 | static const struct iommu_functions omap2_iommu_ops = { | 299 | static const struct iommu_functions omap2_iommu_ops = { |
300 | .version = IOMMU_ARCH_VERSION, | ||
301 | |||
302 | .enable = omap2_iommu_enable, | 300 | .enable = omap2_iommu_enable, |
303 | .disable = omap2_iommu_disable, | 301 | .disable = omap2_iommu_disable, |
304 | .set_twl = omap2_iommu_set_twl, | 302 | .set_twl = omap2_iommu_set_twl, |