summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-06-15 15:43:19 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-07-30 09:29:09 -0700
commit73cd3b43f08cc9a9bcb168994b8e9ebd983ff573 (patch)
treed9a3c860c293ff47fb6b0847e3c23f1c3ecc2a55
parentf3ec4f87d607f40497afdb5ac03f11e2ea253d52 (diff)
downloadblackbird-op-linux-73cd3b43f08cc9a9bcb168994b8e9ebd983ff573.tar.gz
blackbird-op-linux-73cd3b43f08cc9a9bcb168994b8e9ebd983ff573.zip
x86/PCI: pci, fix section mismatch
pcibios_scan_specific_bus calls pci_scan_bus_on_node which is __devinit. Mark pcibios_scan_specific_bus __devinit as well since all users are now __init or __devinit. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--arch/x86/pci/legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
index 8d460eaf524f..c89266be6048 100644
--- a/arch/x86/pci/legacy.c
+++ b/arch/x86/pci/legacy.c
@@ -36,7 +36,7 @@ int __init pci_legacy_init(void)
return 0;
}
-void pcibios_scan_specific_bus(int busn)
+void __devinit pcibios_scan_specific_bus(int busn)
{
int devfn;
long node;
OpenPOWER on IntegriCloud