commit | b7eac055c0a8f6026393a83cdf9699e9052eae25 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Thu May 17 18:51:13 2012 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Jun 13 15:42:25 2012 -0600 |
tree | 1b2ae2cd83314cbaf3c2346635cd0bb2cc0c21f6 | |
parent | b17c0e6f665023ae729ca112516c7b6f3b71f9d3 [diff] [blame] |
PCI: register busn_res for iov bus Insert that to tree. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index e873060..74bbaf8 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c
@@ -47,7 +47,7 @@ if (!child) return NULL; - child->busn_res.end = busnr; + pci_bus_insert_busn_res(child, busnr, busnr); child->dev.parent = bus->bridge; rc = pci_bus_add_child(child); if (rc) {