diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-05-18 01:51:13 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-13 21:42:25 (GMT) |
commit | b7eac055c0a8f6026393a83cdf9699e9052eae25 (patch) | |
tree | 1b2ae2cd83314cbaf3c2346635cd0bb2cc0c21f6 | |
parent | b17c0e6f665023ae729ca112516c7b6f3b71f9d3 (diff) | |
download | linux-b7eac055c0a8f6026393a83cdf9699e9052eae25.tar.xz |
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>
-rw-r--r-- | drivers/pci/iov.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ static struct pci_bus *virtfn_add_bus(struct pci_bus *bus, int busnr) 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) { |