Skip to contentSkip to conversation

X86: pci, fix section mismatch

PATCH New Jiri Slaby 1 participant 1 message Feb 10, 2010

Subsystems (2)
lore
Share & tools
lore

Jiri Slaby

author
#0 lore raw

PATCH 1/1 X86: 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.

Cc Aristeu Sergio <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Jesse Barnes <[email protected]>
---
 arch/x86/pci/legacy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/pci/legacy.c +1 -1
index a8194c8..8cf7835 100644
@@ -39,7 +39,7 @@ static 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;
Signature · 1 line
1.6.6.1