x86: fix section mismatch in pcibios_scan_specific_bus
Subsystems (3)
PATCH 1/1 x86: fix section mismatch in pcibios_scan_specific_bus
Fix following section mismatch in legacy functionpcibios_scan_specific_bus:
arch/x86/pci/built-in.o(.text+0x1637): Section mismatch in reference from the function pcibios_scan_specific_bus() to the function .devinit.text:pci_scan_bus_on_node()
The function pcibios_scan_specific_bus() references the function __devinit pci_scan_bus_on_node().
This is often because pcibios_scan_specific_bus lacks a __devinit annotation or the annotation of pci_scan_bus_on_nodeis wrong.
Signed-off-by Christoph Fritz <[email protected]>
--- arch/x86/pci/legacy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/pci/legacy.c +1 -1
@@ -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;
Signature · 1 line
1.7.1