projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17c0e6
)
PCI: register busn_res for iov bus
author
Yinghai Lu
<yinghai@kernel.org>
Fri, 18 May 2012 01:51:13 +0000
(18:51 -0700)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 13 Jun 2012 21:42:25 +0000
(15:42 -0600)
Insert that to tree.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/iov.c
patch
|
blob
|
history
diff --git
a/drivers/pci/iov.c
b/drivers/pci/iov.c
index e873060fb35b8d1026c8eee2a63416124d12850b..74bbaf82638d9062817c4c7a1b872f506423f1ab 100644
(file)
--- 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) {