diff options
author | Suman Anna <s-anna@ti.com> | 2014-03-17 21:31:33 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-04-16 10:30:14 -0400 |
commit | 2ac6133bf6280350105b3181bbed31fb183b9734 (patch) | |
tree | 6385cba369227fcfd84422edd4ea2c45c07a6124 | |
parent | d760e3e0f1afb96e0b813384258cea0afcf1b4d4 (diff) |
iommu/omap: Remove omap_iommu_domain_has_cap() function
The current OMAP IOMMU ops for .domain_has_cap is a stub,
and the iommu core already returns a value of 0 if the
domain doesn't have a .domain_has_cap ops plugged in. So,
clean up this stub function.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | drivers/iommu/omap-iommu.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index 64d935b0d08e..7ce136da9c2d 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c | |||
@@ -1248,12 +1248,6 @@ static phys_addr_t omap_iommu_iova_to_phys(struct iommu_domain *domain, | |||
1248 | return ret; | 1248 | return ret; |
1249 | } | 1249 | } |
1250 | 1250 | ||
1251 | static int omap_iommu_domain_has_cap(struct iommu_domain *domain, | ||
1252 | unsigned long cap) | ||
1253 | { | ||
1254 | return 0; | ||
1255 | } | ||
1256 | |||
1257 | static int omap_iommu_add_device(struct device *dev) | 1251 | static int omap_iommu_add_device(struct device *dev) |
1258 | { | 1252 | { |
1259 | struct omap_iommu_arch_data *arch_data; | 1253 | struct omap_iommu_arch_data *arch_data; |
@@ -1305,7 +1299,6 @@ static struct iommu_ops omap_iommu_ops = { | |||
1305 | .map = omap_iommu_map, | 1299 | .map = omap_iommu_map, |
1306 | .unmap = omap_iommu_unmap, | 1300 | .unmap = omap_iommu_unmap, |
1307 | .iova_to_phys = omap_iommu_iova_to_phys, | 1301 | .iova_to_phys = omap_iommu_iova_to_phys, |
1308 | .domain_has_cap = omap_iommu_domain_has_cap, | ||
1309 | .add_device = omap_iommu_add_device, | 1302 | .add_device = omap_iommu_add_device, |
1310 | .remove_device = omap_iommu_remove_device, | 1303 | .remove_device = omap_iommu_remove_device, |
1311 | .pgsize_bitmap = OMAP_IOMMU_PGSIZES, | 1304 | .pgsize_bitmap = OMAP_IOMMU_PGSIZES, |