Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed8d7129 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: arm-smmu: fix compile error if CONFIG_PCI disabled"

parents f533acf5 ede40f39
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3036,10 +3036,12 @@ static struct iommu_group *of_get_device_group(struct device *dev)
	if (ret > 0)
		return data.group;

#ifdef CONFIG_PCI
	ret = bus_for_each_dev(&pci_bus_type, NULL, &data,
				__bus_lookup_iommu_group);
	if (ret > 0)
		return data.group;
#endif

	group = generic_device_group(dev);
	if (IS_ERR(group))