diff options
-rw-r--r-- | arch/arm/mach-orion5x/pci.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-orion/pcie.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-orion5x/pci.c b/arch/arm/mach-orion5x/pci.c index 27b4afc8f486..fdf99fca85b3 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) | |||
41 | *rev = orion_pcie_rev(PCIE_BASE); | 41 | *rev = orion_pcie_rev(PCIE_BASE); |
42 | } | 42 | } |
43 | 43 | ||
44 | int orion5x_pcie_local_bus_nr(void) | 44 | int __init orion5x_pcie_local_bus_nr(void) |
45 | { | 45 | { |
46 | return orion_pcie_get_local_bus_nr(PCIE_BASE); | 46 | return orion_pcie_get_local_bus_nr(PCIE_BASE); |
47 | } | 47 | } |
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 | ||
60 | int __init orion_pcie_link_up(void __iomem *base) | 60 | int 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 | ||
65 | int __init orion_pcie_get_local_bus_nr(void __iomem *base) | 65 | int 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 | ||