summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2024-10-28 17:58:38 +0000
committerJoerg Roedel <jroedel@suse.de>2024-10-30 10:55:08 +0100
commit95b6235e36953e9d6c822270961e79751eee2276 (patch)
tree8cb6042769e77477ec7d92508c2763864fd04d91 /include
parentc9b4a3185fcb2bca0ab8cd098a4df85b2951c44b (diff)
iommu: Make bus_iommu_probe() static
With the last external caller of bus_iommu_probe() now gone, make it internal as it really should be. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Tested-by: H. Nikolaus Schaller <hns@goldelico.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Beleswar Padhi <b-padhi@ti.com> Link: https://lore.kernel.org/r/a7511a034a27259aff4e14d80a861d3c40fbff1e.1730136799.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/iommu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index bd722f473635..84a6ed5e803a 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -784,7 +784,6 @@ static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather)
};
}
-extern int bus_iommu_probe(const struct bus_type *bus);
extern bool iommu_present(const struct bus_type *bus);
extern bool device_iommu_capable(struct device *dev, enum iommu_cap cap);
extern bool iommu_group_has_isolated_msi(struct iommu_group *group);