diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-27 16:50:05 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-28 18:04:32 +0100 |
commit | 7f8b7170cdda6645ed4fec4b2d415bf4cebd7839 (patch) | |
tree | c267c5909fd4c2ed0cfa4a689b8f5781b78357c9 | |
parent | 0d9df2515dbceb67d343c0f10fd3ff218380d524 (diff) | |
download | blackbird-obmc-linux-7f8b7170cdda6645ed4fec4b2d415bf4cebd7839.tar.gz blackbird-obmc-linux-7f8b7170cdda6645ed4fec4b2d415bf4cebd7839.zip |
ARM: Fix section mismatch warning in Integrator pci_v3
WARNING: vmlinux.o(.text+0xc9d4): Section mismatch in reference from the function pci_v3_scan_bus() to the function .devinit.text:pci_scan_bus_parented()
The function pci_v3_scan_bus() references
the function __devinit pci_scan_bus_parented().
This is often because pci_v3_scan_bus lacks a __devinit
annotation or the annotation of pci_scan_bus_parented is wrong.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | arch/arm/mach-integrator/pci_v3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/pci_v3.c b/arch/arm/mach-integrator/pci_v3.c index f1d72b225450..901cc205015e 100644 --- a/arch/arm/mach-integrator/pci_v3.c +++ b/arch/arm/mach-integrator/pci_v3.c @@ -486,7 +486,7 @@ int __init pci_v3_setup(int nr, struct pci_sys_data *sys) return ret; } -struct pci_bus *pci_v3_scan_bus(int nr, struct pci_sys_data *sys) +struct pci_bus * __init pci_v3_scan_bus(int nr, struct pci_sys_data *sys) { return pci_scan_bus(sys->busnr, &pci_v3_ops, sys); } |