Skip to content

Commit 9a10899

Browse files
jgunthorpejoergroedel
authored andcommitted
iommu: Do not export iommu_device_link/unlink()
These are not used outside iommu.c, they should not be available to modular code. Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 14891af commit 9a10899

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/iommu/iommu-sysfs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,9 @@ int iommu_device_link(struct iommu_device *iommu, struct device *link)
119119

120120
return ret;
121121
}
122-
EXPORT_SYMBOL_GPL(iommu_device_link);
123122

124123
void iommu_device_unlink(struct iommu_device *iommu, struct device *link)
125124
{
126125
sysfs_remove_link(&link->kobj, "iommu");
127126
sysfs_remove_link_from_group(&iommu->dev->kobj, "devices", dev_name(link));
128127
}
129-
EXPORT_SYMBOL_GPL(iommu_device_unlink);

0 commit comments

Comments
 (0)