diff options
Diffstat (limited to 'arch/arm/plat-orion/pcie.c')
-rw-r--r-- | arch/arm/plat-orion/pcie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-orion/pcie.c b/arch/arm/plat-orion/pcie.c index 86dbb5bdb172..f20a321088a2 100644 --- a/arch/arm/plat-orion/pcie.c +++ b/arch/arm/plat-orion/pcie.c | |||
@@ -52,12 +52,12 @@ | |||
52 | #define PCIE_DEBUG_SOFT_RESET (1<<20) | 52 | #define PCIE_DEBUG_SOFT_RESET (1<<20) |
53 | 53 | ||
54 | 54 | ||
55 | u32 __init orion_pcie_dev_id(void __iomem *base) | 55 | u32 orion_pcie_dev_id(void __iomem *base) |
56 | { | 56 | { |
57 | return readl(base + PCIE_DEV_ID_OFF) >> 16; | 57 | return readl(base + PCIE_DEV_ID_OFF) >> 16; |
58 | } | 58 | } |
59 | 59 | ||
60 | u32 __init orion_pcie_rev(void __iomem *base) | 60 | u32 orion_pcie_rev(void __iomem *base) |
61 | { | 61 | { |
62 | return readl(base + PCIE_DEV_REV_OFF) & 0xff; | 62 | return readl(base + PCIE_DEV_REV_OFF) & 0xff; |
63 | } | 63 | } |