diff options
Diffstat (limited to 'drivers/pci/setup-bus.c')
-rw-r--r-- | drivers/pci/setup-bus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 7e8739e25b9e..16abaaa1f83c 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c | |||
@@ -1044,7 +1044,7 @@ handle_done: | |||
1044 | ; | 1044 | ; |
1045 | } | 1045 | } |
1046 | 1046 | ||
1047 | void __ref __pci_bus_size_bridges(struct pci_bus *bus, | 1047 | static void __ref __pci_bus_size_bridges(struct pci_bus *bus, |
1048 | struct list_head *realloc_head) | 1048 | struct list_head *realloc_head) |
1049 | { | 1049 | { |
1050 | struct pci_dev *dev; | 1050 | struct pci_dev *dev; |
@@ -1545,6 +1545,8 @@ again: | |||
1545 | 1545 | ||
1546 | enable_all: | 1546 | enable_all: |
1547 | retval = pci_reenable_device(bridge); | 1547 | retval = pci_reenable_device(bridge); |
1548 | if (retval) | ||
1549 | dev_err(&bridge->dev, "Error reenabling bridge (%d)\n", retval); | ||
1548 | pci_set_master(bridge); | 1550 | pci_set_master(bridge); |
1549 | pci_enable_bridges(parent); | 1551 | pci_enable_bridges(parent); |
1550 | } | 1552 | } |