* [PATCH v2 15/22] PCI, alpha: Kill pci_root_buses
[not found] ` <1359265003-16166-1-git-send-email-yinghai@kernel.org>
@ 2013-01-27 5:36 ` Yinghai Lu
0 siblings, 0 replies; only message in thread
From: Yinghai Lu @ 2013-01-27 5:36 UTC (permalink / raw)
To: Bjorn Helgaas, Jiang Liu, Rafael J. Wysocki, Taku Izumi
Cc: linux-pci, Yinghai Lu, Richard Henderson, Ivan Kokshaysky,
Matt Turner, linux-alpha
-v2: Fix typo that is found by Fengguang
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: linux-alpha@vger.kernel.org
---
arch/alpha/kernel/pci.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c
index ef75714..6c55e16 100644
--- a/arch/alpha/kernel/pci.c
+++ b/arch/alpha/kernel/pci.c
@@ -305,10 +305,10 @@ pcibios_claim_one_bus(struct pci_bus *b)
static void __init
pcibios_claim_console_setup(void)
{
- struct pci_bus *b;
+ struct pci_host_bridge *host_bridge = NULL;
- list_for_each_entry(b, &pci_root_buses, node)
- pcibios_claim_one_bus(b);
+ for_each_pci_host_bridge(host_bridge)
+ pcibios_claim_one_bus(host_bridge->bus);
}
void __init
--
1.7.10.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-27 5:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAE9FiQUhrVPNKcdWbiqHLa5PzH7Dg-uduVc9BP-OjM-eCqSXdw@mail.gmail.com>
[not found] ` <1359265003-16166-1-git-send-email-yinghai@kernel.org>
2013-01-27 5:36 ` [PATCH v2 15/22] PCI, alpha: Kill pci_root_buses Yinghai Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).