summaryrefslogtreecommitdiff
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-09-06 20:58:54 +0400
committerJoerg Roedel <joerg.roedel@amd.com>2011-10-21 16:37:23 +0400
commit94441c3bd99287b9d84f148a08cc9a44675ec749 (patch)
treeedf4c7b2b9a78e30cb99f25cc5ac9ec0ec2f74bb /include/linux/iommu.h
parent85eebbc5e4633e6eee10bdddd00d175daadd5841 (diff)
downloadlinux-94441c3bd99287b9d84f148a08cc9a44675ec749.tar.xz
iommu/core: Remove global iommu_ops and register_iommu
With all IOMMU drivers being converted to bus_set_iommu the global iommu_ops are no longer required. The same is true for the deprecated register_iommu function. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'include/linux/iommu.h')
-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 f56e559442a2..609ebf6bbe0c 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -54,7 +54,6 @@ struct iommu_ops {
unsigned long cap);
};
-extern void register_iommu(struct iommu_ops *ops);
extern int bus_set_iommu(struct bus_type *bus, struct iommu_ops *ops);
extern bool iommu_present(struct bus_type *bus);
extern struct iommu_domain *iommu_domain_alloc(struct bus_type *bus);