diff options
Diffstat (limited to 'drivers/pci/bus.c')
-rw-r--r-- | drivers/pci/bus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index fb9a11243d2a..a83ee0b85394 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c | |||
@@ -140,10 +140,11 @@ void __devinit pci_bus_add_devices(struct pci_bus *bus) | |||
140 | void pci_enable_bridges(struct pci_bus *bus) | 140 | void pci_enable_bridges(struct pci_bus *bus) |
141 | { | 141 | { |
142 | struct pci_dev *dev; | 142 | struct pci_dev *dev; |
143 | int retval; | ||
143 | 144 | ||
144 | list_for_each_entry(dev, &bus->devices, bus_list) { | 145 | list_for_each_entry(dev, &bus->devices, bus_list) { |
145 | if (dev->subordinate) { | 146 | if (dev->subordinate) { |
146 | pci_enable_device(dev); | 147 | retval = pci_enable_device(dev); |
147 | pci_set_master(dev); | 148 | pci_set_master(dev); |
148 | pci_enable_bridges(dev->subordinate); | 149 | pci_enable_bridges(dev->subordinate); |
149 | } | 150 | } |