diff options
Diffstat (limited to 'arch/arm/mach-dove/pcie.c')
| -rw-r--r-- | arch/arm/mach-dove/pcie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-dove/pcie.c b/arch/arm/mach-dove/pcie.c index 355332d502cb..bb15b26041cb 100644 --- a/arch/arm/mach-dove/pcie.c +++ b/arch/arm/mach-dove/pcie.c | |||
| @@ -182,18 +182,18 @@ static struct hw_pci dove_pci __initdata = { | |||
| 182 | .map_irq = dove_pcie_map_irq, | 182 | .map_irq = dove_pcie_map_irq, |
| 183 | }; | 183 | }; |
| 184 | 184 | ||
| 185 | static void __init add_pcie_port(int index, unsigned long base) | 185 | static void __init add_pcie_port(int index, void __iomem *base) |
| 186 | { | 186 | { |
| 187 | printk(KERN_INFO "Dove PCIe port %d: ", index); | 187 | printk(KERN_INFO "Dove PCIe port %d: ", index); |
| 188 | 188 | ||
| 189 | if (orion_pcie_link_up((void __iomem *)base)) { | 189 | if (orion_pcie_link_up(base)) { |
| 190 | struct pcie_port *pp = &pcie_port[num_pcie_ports++]; | 190 | struct pcie_port *pp = &pcie_port[num_pcie_ports++]; |
| 191 | 191 | ||
| 192 | printk(KERN_INFO "link up\n"); | 192 | printk(KERN_INFO "link up\n"); |
| 193 | 193 | ||
| 194 | pp->index = index; | 194 | pp->index = index; |
| 195 | pp->root_bus_nr = -1; | 195 | pp->root_bus_nr = -1; |
| 196 | pp->base = (void __iomem *)base; | 196 | pp->base = base; |
| 197 | spin_lock_init(&pp->conf_lock); | 197 | spin_lock_init(&pp->conf_lock); |
| 198 | memset(&pp->res, 0, sizeof(pp->res)); | 198 | memset(&pp->res, 0, sizeof(pp->res)); |
| 199 | } else { | 199 | } else { |
