diff options
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 8d291ee15257..4c2f22668ea7 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -1137,7 +1137,8 @@ static void pci_release_bus_bridge_dev(struct device *dev) | |||
1137 | { | 1137 | { |
1138 | struct pci_host_bridge *bridge = to_pci_host_bridge(dev); | 1138 | struct pci_host_bridge *bridge = to_pci_host_bridge(dev); |
1139 | 1139 | ||
1140 | /* TODO: need to free window->res */ | 1140 | if (bridge->release_fn) |
1141 | bridge->release_fn(bridge); | ||
1141 | 1142 | ||
1142 | pci_free_resource_list(&bridge->windows); | 1143 | pci_free_resource_list(&bridge->windows); |
1143 | 1144 | ||