ARM: Fix section mismatch warning in Integrator pci_v3
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 27 Sep 2009 15:50:05 +0000 (16:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Sep 2009 17:04:32 +0000 (18:04 +0100)
commit7f8b7170cdda6645ed4fec4b2d415bf4cebd7839
treec267c5909fd4c2ed0cfa4a689b8f5781b78357c9
parent0d9df2515dbceb67d343c0f10fd3ff218380d524
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>
arch/arm/mach-integrator/pci_v3.c