public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] remove additional pci_scan_child_bus() prototype
@ 2007-11-09  6:02 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-11-09  6:02 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-pci

There's already a prototype for pci_scan_child_bus() at the correct 
place in pci.h, so there's no reason for an additional one.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
23fdba3eb3ed7b531fbe005a810d10679b113d2e 
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index de33a02..4b73d57 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -486,8 +486,6 @@ static void pci_fixup_parent_subordinate_busnr(struct pci_bus *child, int max)
 	}
 }
 
-unsigned int pci_scan_child_bus(struct pci_bus *bus);
-
 /*
  * If it's a bridge, configure it and scan the bus behind it.
  * For CardBus bridges, we don't scan behind as the devices will


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-09  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09  6:02 [2.6 patch] remove additional pci_scan_child_bus() prototype Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox