diff options
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 0cfed9e28ea1..8310dc2f943b 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -1504,7 +1504,7 @@ u8 pci_common_swizzle(struct pci_dev *dev, u8 *pinp) | |||
1504 | { | 1504 | { |
1505 | u8 pin = *pinp; | 1505 | u8 pin = *pinp; |
1506 | 1506 | ||
1507 | while (dev->bus->self) { | 1507 | while (dev->bus->parent) { |
1508 | pin = pci_swizzle_interrupt_pin(dev, pin); | 1508 | pin = pci_swizzle_interrupt_pin(dev, pin); |
1509 | dev = dev->bus->self; | 1509 | dev = dev->bus->self; |
1510 | } | 1510 | } |