RE: [PATCH 07/11] iommu: Do not export iommu_device_link/unlink()

2023-04-26 Thread Tian, Kevin
> From: Jason Gunthorpe 
> Sent: Thursday, April 20, 2023 12:12 AM
> 
> These are not used outside iommu.c, they should not be available to
> modular code.
> 
> Signed-off-by: Jason Gunthorpe 

Reviewed-by: Kevin Tian 


[PATCH 07/11] iommu: Do not export iommu_device_link/unlink()

2023-04-19 Thread Jason Gunthorpe
These are not used outside iommu.c, they should not be available to
modular code.

Signed-off-by: Jason Gunthorpe 
---
 drivers/iommu/iommu-sysfs.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/iommu/iommu-sysfs.c b/drivers/iommu/iommu-sysfs.c
index c8aba0e2a30d70..cbe378c34ba3eb 100644
--- a/drivers/iommu/iommu-sysfs.c
+++ b/drivers/iommu/iommu-sysfs.c
@@ -119,11 +119,9 @@ int iommu_device_link(struct iommu_device *iommu, struct 
device *link)
 
return ret;
 }
-EXPORT_SYMBOL_GPL(iommu_device_link);
 
 void iommu_device_unlink(struct iommu_device *iommu, struct device *link)
 {
sysfs_remove_link(>kobj, "iommu");
sysfs_remove_link_from_group(>dev->kobj, "devices", 
dev_name(link));
 }
-EXPORT_SYMBOL_GPL(iommu_device_unlink);
-- 
2.40.0