summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/pi/00730F01
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd/pi/00730F01')
-rw-r--r--src/northbridge/amd/pi/00730F01/iommu.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/northbridge/amd/pi/00730F01/iommu.c b/src/northbridge/amd/pi/00730F01/iommu.c
index c79ddb56e6..2de53d061c 100644
--- a/src/northbridge/amd/pi/00730F01/iommu.c
+++ b/src/northbridge/amd/pi/00730F01/iommu.c
@@ -21,14 +21,9 @@ static void iommu_read_resources(struct device *dev)
res->flags = IORESOURCE_MEM;
}
-static void iommu_set_resources(struct device *dev)
-{
- pci_dev_set_resources(dev);
-}
-
static struct device_operations iommu_ops = {
.read_resources = iommu_read_resources,
- .set_resources = iommu_set_resources,
+ .set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.ops_pci = &pci_dev_ops_pci,
};