summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJiri Slaby2010-06-15 15:43:19 +0200
committerJesse Barnes2010-07-30 18:29:09 +0200
commit73cd3b43f08cc9a9bcb168994b8e9ebd983ff573 (patch)
treed9a3c860c293ff47fb6b0847e3c23f1c3ecc2a55 /arch
parentPCI: change device runtime PM settings for probe and remove (diff)
downloadkernel-qcow2-linux-73cd3b43f08cc9a9bcb168994b8e9ebd983ff573.tar.gz
kernel-qcow2-linux-73cd3b43f08cc9a9bcb168994b8e9ebd983ff573.tar.xz
kernel-qcow2-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>
Diffstat (limited to 'arch')
-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;