aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/probe.c4
-rw-r--r--drivers/pci/setup-bus.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 3bb2bc2a1e70..7f5dab34d315 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -433,7 +433,7 @@ pci_alloc_child_bus(struct pci_bus *parent, struct pci_dev *bridge, int busnr)
433 return child; 433 return child;
434} 434}
435 435
436struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int busnr) 436struct pci_bus *__ref pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int busnr)
437{ 437{
438 struct pci_bus *child; 438 struct pci_bus *child;
439 439
@@ -948,7 +948,7 @@ void pci_device_add(struct pci_dev *dev, struct pci_bus *bus)
948 up_write(&pci_bus_sem); 948 up_write(&pci_bus_sem);
949} 949}
950 950
951struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn) 951struct pci_dev *__ref pci_scan_single_device(struct pci_bus *bus, int devfn)
952{ 952{
953 struct pci_dev *dev; 953 struct pci_dev *dev;
954 954
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 8a7232feb553..262b0439abe9 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -456,7 +456,7 @@ pci_bus_size_cardbus(struct pci_bus *bus)
456 } 456 }
457} 457}
458 458
459void pci_bus_size_bridges(struct pci_bus *bus) 459void __ref pci_bus_size_bridges(struct pci_bus *bus)
460{ 460{
461 struct pci_dev *dev; 461 struct pci_dev *dev;
462 unsigned long mask, prefmask; 462 unsigned long mask, prefmask;
@@ -511,7 +511,7 @@ void pci_bus_size_bridges(struct pci_bus *bus)
511} 511}
512EXPORT_SYMBOL(pci_bus_size_bridges); 512EXPORT_SYMBOL(pci_bus_size_bridges);
513 513
514void pci_bus_assign_resources(struct pci_bus *bus) 514void __ref pci_bus_assign_resources(struct pci_bus *bus)
515{ 515{
516 struct pci_bus *b; 516 struct pci_bus *b;
517 struct pci_dev *dev; 517 struct pci_dev *dev;