aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/pci-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 2a525c938158..82031011522f 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -788,6 +788,10 @@ static void pcibios_fixup_resources(struct pci_dev *dev)
788 pci_name(dev)); 788 pci_name(dev));
789 return; 789 return;
790 } 790 }
791
792 if (dev->is_virtfn)
793 return;
794
791 for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) { 795 for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) {
792 struct resource *res = dev->resource + i; 796 struct resource *res = dev->resource + i;
793 struct pci_bus_region reg; 797 struct pci_bus_region reg;