diff options
Diffstat (limited to 'arch/arm/mach-versatile/pci.c')
-rw-r--r-- | arch/arm/mach-versatile/pci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c index 90069bce23bc..a6e23f464528 100644 --- a/arch/arm/mach-versatile/pci.c +++ b/arch/arm/mach-versatile/pci.c | |||
@@ -24,7 +24,6 @@ | |||
24 | 24 | ||
25 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | #include <asm/system.h> | ||
28 | #include <asm/mach/pci.h> | 27 | #include <asm/mach/pci.h> |
29 | 28 | ||
30 | /* | 29 | /* |
@@ -219,9 +218,9 @@ static int __init pci_versatile_setup_resources(struct list_head *resources) | |||
219 | * the mem resource for this bus | 218 | * the mem resource for this bus |
220 | * the prefetch mem resource for this bus | 219 | * the prefetch mem resource for this bus |
221 | */ | 220 | */ |
222 | pci_add_resource(resources, &io_mem); | 221 | pci_add_resource_offset(resources, &io_mem, sys->io_offset); |
223 | pci_add_resource(resources, &non_mem); | 222 | pci_add_resource_offset(resources, &non_mem, sys->mem_offset); |
224 | pci_add_resource(resources, &pre_mem); | 223 | pci_add_resource_offset(resources, &pre_mem, sys->mem_offset); |
225 | 224 | ||
226 | goto out; | 225 | goto out; |
227 | 226 | ||