diff options
Diffstat (limited to 'drivers/pci/bus.c')
-rw-r--r-- | drivers/pci/bus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 42eea5fbc13b..7f0af0e9b826 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c | |||
@@ -240,6 +240,8 @@ void pci_enable_bridges(struct pci_bus *bus) | |||
240 | if (dev->subordinate) { | 240 | if (dev->subordinate) { |
241 | if (!pci_is_enabled(dev)) { | 241 | if (!pci_is_enabled(dev)) { |
242 | retval = pci_enable_device(dev); | 242 | retval = pci_enable_device(dev); |
243 | if (retval) | ||
244 | dev_err(&dev->dev, "Error enabling bridge (%d), continuing\n", retval); | ||
243 | pci_set_master(dev); | 245 | pci_set_master(dev); |
244 | } | 246 | } |
245 | pci_enable_bridges(dev->subordinate); | 247 | pci_enable_bridges(dev->subordinate); |