iommu: Make iommu_release_device() static
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 12 Apr 2023 14:10:45 +0000 (11:10 -0300)
committerJoerg Roedel <jroedel@suse.de>
Fri, 14 Apr 2023 11:07:53 +0000 (13:07 +0200)
commite223864f8257afde5e23eca4c006a0d69581a7a2
tree9deacae2d35fe99eb7080328339f2e24db4bfa8f
parent99b5726b44230329f35b4c4d7fe1577d4f4edb31
iommu: Make iommu_release_device() static

This is not called outside the core code, and indeed cannot be called
correctly outside the bus notifier. Make it static.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/0-v1-c3da18124d2d+56-rm_iommu_release_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h