On Mon, Jul 24, 2023 at 03:59:33AM -0700, Yi Liu wrote: > dev_iommu_ops() is essentially only used in iommu subsystem, so > move to a private header to avoid being abused by other drivers. > > Suggested-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> > Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx> > --- > drivers/iommu/iommu-priv.h | 11 +++++++++++ > include/linux/iommu.h | 11 ----------- > 2 files changed, 11 insertions(+), 11 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason