Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c3e8943 authored by Will Deacon's avatar Will Deacon Committed by Joerg Roedel
Browse files

iommu: remove unused priv field from struct iommu_ops



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: default avatarWill Deacon <will.deacon@arm.com>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 9a51f3fc
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -156,7 +156,6 @@ struct iommu_dm_region {
 * @domain_get_windows: Return the number of windows for a domain
 * @domain_get_windows: Return the number of windows for a domain
 * @of_xlate: add OF master IDs to iommu grouping
 * @of_xlate: add OF master IDs to iommu grouping
 * @pgsize_bitmap: bitmap of supported page sizes
 * @pgsize_bitmap: bitmap of supported page sizes
 * @priv: per-instance data private to the iommu driver
 */
 */
struct iommu_ops {
struct iommu_ops {
	bool (*capable)(enum iommu_cap);
	bool (*capable)(enum iommu_cap);
@@ -198,7 +197,6 @@ struct iommu_ops {
	int (*of_xlate)(struct device *dev, struct of_phandle_args *args);
	int (*of_xlate)(struct device *dev, struct of_phandle_args *args);


	unsigned long pgsize_bitmap;
	unsigned long pgsize_bitmap;
	void *priv;
};
};


#define IOMMU_GROUP_NOTIFY_ADD_DEVICE		1 /* Device added */
#define IOMMU_GROUP_NOTIFY_ADD_DEVICE		1 /* Device added */