projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14891af
)
iommu: Do not export iommu_device_link/unlink()
author
Jason Gunthorpe
<jgg@nvidia.com>
Tue, 6 Jun 2023 00:59:45 +0000
(21:59 -0300)
committer
Joerg Roedel
<jroedel@suse.de>
Fri, 14 Jul 2023 14:14:15 +0000
(16:14 +0200)
These are not used outside iommu.c, they should not be available to
modular code.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link:
https://lore.kernel.org/r/7-v3-328044aa278c+45e49-iommu_probe_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu-sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/iommu-sysfs.c
b/drivers/iommu/iommu-sysfs.c
index
c8aba0e
..
cbe378c
100644
(file)
--- 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(&link->kobj, "iommu");
sysfs_remove_link_from_group(&iommu->dev->kobj, "devices", dev_name(link));
}
-EXPORT_SYMBOL_GPL(iommu_device_unlink);