iommu: remove unused priv field from struct iommu_ops
authorWill Deacon <will.deacon@arm.com>
Thu, 7 Apr 2016 17:42:04 +0000 (18:42 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 9 May 2016 13:33:29 +0000 (15:33 +0200)
The priv field from iommu_ops is a hangover from the of_dma_configure
series and isn't actually used. Remove it before it has chance to
spread.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/iommu.h

index ef7a6ecd85846c04fa5cc1aed2c6aa9373fedd91..8a2570443b801e1d0571a89a3b6b3829b3642e0c 100644 (file)
@@ -156,7 +156,6 @@ struct iommu_dm_region {
  * @domain_get_windows: Return the number of windows for a domain
  * @of_xlate: add OF master IDs to iommu grouping
  * @pgsize_bitmap: bitmap of supported page sizes
- * @priv: per-instance data private to the iommu driver
  */
 struct iommu_ops {
        bool (*capable)(enum iommu_cap);
@@ -198,7 +197,6 @@ struct iommu_ops {
        int (*of_xlate)(struct device *dev, struct of_phandle_args *args);
 
        unsigned long pgsize_bitmap;
-       void *priv;
 };
 
 #define IOMMU_GROUP_NOTIFY_ADD_DEVICE          1 /* Device added */
This page took 0.026268 seconds and 5 git commands to generate.