Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Will Deacon and committed by
Joerg Roedel
3c3e8943 9a51f3fc

-2
-2
include/linux/iommu.h
··· 156 156 * @domain_get_windows: Return the number of windows for a domain 157 157 * @of_xlate: add OF master IDs to iommu grouping 158 158 * @pgsize_bitmap: bitmap of supported page sizes 159 - * @priv: per-instance data private to the iommu driver 160 159 */ 161 160 struct iommu_ops { 162 161 bool (*capable)(enum iommu_cap); ··· 197 198 int (*of_xlate)(struct device *dev, struct of_phandle_args *args); 198 199 199 200 unsigned long pgsize_bitmap; 200 - void *priv; 201 201 }; 202 202 203 203 #define IOMMU_GROUP_NOTIFY_ADD_DEVICE 1 /* Device added */