diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/iommu.c | 7 | ||||
-rw-r--r-- | drivers/base/sys.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c index c2d1eed90376..9f0e672f4be8 100644 --- a/drivers/base/iommu.c +++ b/drivers/base/iommu.c | |||
@@ -98,3 +98,10 @@ phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, | |||
98 | return iommu_ops->iova_to_phys(domain, iova); | 98 | return iommu_ops->iova_to_phys(domain, iova); |
99 | } | 99 | } |
100 | EXPORT_SYMBOL_GPL(iommu_iova_to_phys); | 100 | EXPORT_SYMBOL_GPL(iommu_iova_to_phys); |
101 | |||
102 | int iommu_domain_has_cap(struct iommu_domain *domain, | ||
103 | unsigned long cap) | ||
104 | { | ||
105 | return iommu_ops->domain_has_cap(domain, cap); | ||
106 | } | ||
107 | EXPORT_SYMBOL_GPL(iommu_domain_has_cap); | ||
diff --git a/drivers/base/sys.c b/drivers/base/sys.c index 76ce75bad91e..3236b434b964 100644 --- a/drivers/base/sys.c +++ b/drivers/base/sys.c | |||
@@ -300,7 +300,7 @@ void sysdev_unregister(struct sys_device *sysdev) | |||
300 | * and the class driver. | 300 | * and the class driver. |
301 | * | 301 | * |
302 | * Note: The list is iterated in reverse order, so that we shut down | 302 | * Note: The list is iterated in reverse order, so that we shut down |
303 | * child devices before we shut down thier parents. The list ordering | 303 | * child devices before we shut down their parents. The list ordering |
304 | * is guaranteed by virtue of the fact that child devices are registered | 304 | * is guaranteed by virtue of the fact that child devices are registered |
305 | * after their parents. | 305 | * after their parents. |
306 | */ | 306 | */ |