aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/iommu/dmar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c
index 785675a56a10..da2d0d926e40 100644
--- a/drivers/iommu/dmar.c
+++ b/drivers/iommu/dmar.c
@@ -403,7 +403,7 @@ dmar_find_matched_drhd_unit(struct pci_dev *dev)
403 403
404 dev = pci_physfn(dev); 404 dev = pci_physfn(dev);
405 405
406 list_for_each_entry(dmaru, &dmar_drhd_units, list) { 406 for_each_drhd_unit(dmaru) {
407 drhd = container_of(dmaru->hdr, 407 drhd = container_of(dmaru->hdr,
408 struct acpi_dmar_hardware_unit, 408 struct acpi_dmar_hardware_unit,
409 header); 409 header);