summaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion5x
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-04-09 20:08:35 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-04-10 14:27:09 (GMT)
commitb488a5ed12c0d8417884d8c33fc0a1701a16c951 (patch)
tree501862c2b8429084c469ba45dc42823488fd6c14 /arch/arm/mach-orion5x
parentbee036b503214dd65f62af6599d2bebdf156467c (diff)
downloadlinux-b488a5ed12c0d8417884d8c33fc0a1701a16c951.tar.xz
[ARM] 4954/1: Orion: fix some function section mismatch
Without this, lspci won't work. Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-orion5x')
-rw-r--r--arch/arm/mach-orion5x/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/pci.c b/arch/arm/mach-orion5x/pci.c
index 27b4afc..fdf99fc 100644
--- a/arch/arm/mach-orion5x/pci.c
+++ b/arch/arm/mach-orion5x/pci.c
@@ -41,7 +41,7 @@ void __init orion5x_pcie_id(u32 *dev, u32 *rev)
*rev = orion_pcie_rev(PCIE_BASE);
}
-int orion5x_pcie_local_bus_nr(void)
+int __init orion5x_pcie_local_bus_nr(void)
{
return orion_pcie_get_local_bus_nr(PCIE_BASE);
}