Merge tag 'iommu-config-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / drivers / iommu / iommu.c
index 1bd6335..f7718d7 100644 (file)
@@ -737,7 +737,7 @@ static int add_iommu_group(struct device *dev, void *data)
        const struct iommu_ops *ops = cb->ops;
 
        if (!ops->add_device)
-               return -ENODEV;
+               return 0;
 
        WARN_ON(dev->iommu_group);