diff options
Diffstat (limited to 'drivers/iommu/iommu.c')
-rw-r--r-- | drivers/iommu/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index 1bd63352ab17..f7718d73e984 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c | |||
@@ -737,7 +737,7 @@ static int add_iommu_group(struct device *dev, void *data) | |||
737 | const struct iommu_ops *ops = cb->ops; | 737 | const struct iommu_ops *ops = cb->ops; |
738 | 738 | ||
739 | if (!ops->add_device) | 739 | if (!ops->add_device) |
740 | return -ENODEV; | 740 | return 0; |
741 | 741 | ||
742 | WARN_ON(dev->iommu_group); | 742 | WARN_ON(dev->iommu_group); |
743 | 743 | ||