Skip to content

Commit

Permalink
PCI: register busn_res for iov bus
Browse files Browse the repository at this point in the history
Insert that to tree.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Yinghai Lu authored and Bjorn Helgaas committed Jun 13, 2012
1 parent b17c0e6 commit b7eac05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/iov.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b7eac05

Please sign in to comment.