diff options
Diffstat (limited to 'arch/mips/pci/pci.c')
-rw-r--r-- | arch/mips/pci/pci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index 4dfce154d4af..5ace368657ad 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c | |||
@@ -6,7 +6,6 @@ | |||
6 | * | 6 | * |
7 | * Copyright (C) 2003, 04 Ralf Baechle (ralf@linux-mips.org) | 7 | * Copyright (C) 2003, 04 Ralf Baechle (ralf@linux-mips.org) |
8 | */ | 8 | */ |
9 | #include <linux/config.h> | ||
10 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
11 | #include <linux/mm.h> | 10 | #include <linux/mm.h> |
12 | #include <linux/bootmem.h> | 11 | #include <linux/bootmem.h> |
@@ -51,11 +50,11 @@ unsigned long PCIBIOS_MIN_MEM = 0; | |||
51 | */ | 50 | */ |
52 | void | 51 | void |
53 | pcibios_align_resource(void *data, struct resource *res, | 52 | pcibios_align_resource(void *data, struct resource *res, |
54 | unsigned long size, unsigned long align) | 53 | resource_size_t size, resource_size_t align) |
55 | { | 54 | { |
56 | struct pci_dev *dev = data; | 55 | struct pci_dev *dev = data; |
57 | struct pci_controller *hose = dev->sysdata; | 56 | struct pci_controller *hose = dev->sysdata; |
58 | unsigned long start = res->start; | 57 | resource_size_t start = res->start; |
59 | 58 | ||
60 | if (res->flags & IORESOURCE_IO) { | 59 | if (res->flags & IORESOURCE_IO) { |
61 | /* Make sure we start at our min on all hoses */ | 60 | /* Make sure we start at our min on all hoses */ |