1
0
Fork 0

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>
hifive-unleashed-5.1
Yinghai Lu 2012-05-17 18:51:13 -07:00 committed by Bjorn Helgaas
parent b17c0e6f66
commit b7eac055c0
1 changed files with 1 additions and 1 deletions

View File

@ -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) {