summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/devices/pci_device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c
index 1788044fe7..2360028756 100644
--- a/src/devices/pci_device.c
+++ b/src/devices/pci_device.c
@@ -479,6 +479,11 @@ static void pci_set_resource(struct device *dev, struct resource *resource)
return;
}
+ /* If this resource is fixed don't worry about it. */
+ if (resource->flags & IORESOURCE_FIXED) {
+ return;
+ }
+
/* If I have already stored this resource don't worry about it. */
if (resource->flags & IORESOURCE_STORED) {
return;