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>
This commit is contained in:
parent
85eebbc5e4
commit
94441c3bd9
2 changed files with 4 additions and 24 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue