diff options
Diffstat (limited to 'arch/arm/mach-mv78xx0/pcie.c')
| -rw-r--r-- | arch/arm/mach-mv78xx0/pcie.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mv78xx0/pcie.c b/arch/arm/mach-mv78xx0/pcie.c index aad3a7a2f830..a560439dcc3c 100644 --- a/arch/arm/mach-mv78xx0/pcie.c +++ b/arch/arm/mach-mv78xx0/pcie.c | |||
| @@ -33,6 +33,12 @@ static struct resource pcie_io_space; | |||
| 33 | static struct resource pcie_mem_space; | 33 | static struct resource pcie_mem_space; |
| 34 | 34 | ||
| 35 | 35 | ||
| 36 | void __init mv78xx0_pcie_id(u32 *dev, u32 *rev) | ||
| 37 | { | ||
| 38 | *dev = orion_pcie_dev_id((void __iomem *)PCIE00_VIRT_BASE); | ||
| 39 | *rev = orion_pcie_rev((void __iomem *)PCIE00_VIRT_BASE); | ||
| 40 | } | ||
| 41 | |||
| 36 | static void __init mv78xx0_pcie_preinit(void) | 42 | static void __init mv78xx0_pcie_preinit(void) |
| 37 | { | 43 | { |
| 38 | int i; | 44 | int i; |
