aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-orion
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-04-09 16:08:35 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-04-10 10:27:09 -0400
commitb488a5ed12c0d8417884d8c33fc0a1701a16c951 (patch)
tree501862c2b8429084c469ba45dc42823488fd6c14 /arch/arm/plat-orion
parentbee036b503214dd65f62af6599d2bebdf156467c (diff)
[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/plat-orion')
-rw-r--r--arch/arm/plat-orion/pcie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-orion/pcie.c b/arch/arm/plat-orion/pcie.c
index f01966a330ee..abfda53f1800 100644
--- a/arch/arm/plat-orion/pcie.c
+++ b/arch/arm/plat-orion/pcie.c
@@ -57,12 +57,12 @@ u32 __init orion_pcie_rev(void __iomem *base)
57 return readl(base + PCIE_DEV_REV_OFF) & 0xff; 57 return readl(base + PCIE_DEV_REV_OFF) & 0xff;
58} 58}
59 59
60int __init orion_pcie_link_up(void __iomem *base) 60int orion_pcie_link_up(void __iomem *base)
61{ 61{
62 return !(readl(base + PCIE_STAT_OFF) & PCIE_STAT_LINK_DOWN); 62 return !(readl(base + PCIE_STAT_OFF) & PCIE_STAT_LINK_DOWN);
63} 63}
64 64
65int __init orion_pcie_get_local_bus_nr(void __iomem *base) 65int orion_pcie_get_local_bus_nr(void __iomem *base)
66{ 66{
67 u32 stat = readl(base + PCIE_STAT_OFF); 67 u32 stat = readl(base + PCIE_STAT_OFF);
68 68