diff options
Diffstat (limited to 'drivers/pci/hotplug/fakephp.c')
-rw-r--r-- | drivers/pci/hotplug/fakephp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/fakephp.c b/drivers/pci/hotplug/fakephp.c index d8649e127298..16063745766e 100644 --- a/drivers/pci/hotplug/fakephp.c +++ b/drivers/pci/hotplug/fakephp.c | |||
@@ -245,12 +245,12 @@ static int pci_rescan_slot(struct pci_dev *temp) | |||
245 | 245 | ||
246 | 246 | ||
247 | /** | 247 | /** |
248 | * pci_rescan_bus - Rescan PCI bus | 248 | * pci_rescan_bus_local - fakephp version of rescan PCI bus |
249 | * @bus: the PCI bus to rescan | 249 | * @bus: the PCI bus to rescan |
250 | * | 250 | * |
251 | * Call pci_rescan_slot for each possible function of the bus. | 251 | * Call pci_rescan_slot for each possible function of the bus. |
252 | */ | 252 | */ |
253 | static void pci_rescan_bus(const struct pci_bus *bus) | 253 | static void pci_rescan_bus_local(const struct pci_bus *bus) |
254 | { | 254 | { |
255 | unsigned int devfn; | 255 | unsigned int devfn; |
256 | struct pci_dev *dev; | 256 | struct pci_dev *dev; |
@@ -291,7 +291,7 @@ static void pci_rescan_buses(const struct list_head *list) | |||
291 | const struct list_head *l; | 291 | const struct list_head *l; |
292 | list_for_each(l,list) { | 292 | list_for_each(l,list) { |
293 | const struct pci_bus *b = pci_bus_b(l); | 293 | const struct pci_bus *b = pci_bus_b(l); |
294 | pci_rescan_bus(b); | 294 | pci_rescan_bus_local(b); |
295 | pci_rescan_buses(&b->children); | 295 | pci_rescan_buses(&b->children); |
296 | } | 296 | } |
297 | } | 297 | } |