* [PATCH] section mismatch: pcibios_scan_specific_bus()
@ 2010-01-13 21:26 René Bolldorf
0 siblings, 0 replies; only message in thread
From: René Bolldorf @ 2010-01-13 21:26 UTC (permalink / raw)
To: Jesse Barnes; +Cc: linux-pci, linux-kernel
Hi all,
pcibios_scan_specific_bus() is only invoked from
__devinit pcibios_fixup_peer_bridges(void).
Mark it as __init.
diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
--- a/arch/x86/pci/legacy.c
+++ b/arch/x86/pci/legacy.c
@@ -39,7 +39,7 @@ static int __init pci_legacy_init(void)
return 0;
}
-void pcibios_scan_specific_bus(int busn)
+void __init pcibios_scan_specific_bus(int busn)
{
int devfn;
long node;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-13 21:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 21:26 [PATCH] section mismatch: pcibios_scan_specific_bus() René Bolldorf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox