diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/drivers/pci/pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/drivers/pci/pci.c b/arch/sh/drivers/pci/pci.c index 41d8f014f1df..953af139e230 100644 --- a/arch/sh/drivers/pci/pci.c +++ b/arch/sh/drivers/pci/pci.c | |||
@@ -182,8 +182,8 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus) | |||
182 | * addresses to be allocated in the 0x000-0x0ff region | 182 | * addresses to be allocated in the 0x000-0x0ff region |
183 | * modulo 0x400. | 183 | * modulo 0x400. |
184 | */ | 184 | */ |
185 | void pcibios_align_resource(void *data, struct resource *res, | 185 | resource_size_t pcibios_align_resource(void *data, const struct resource *res, |
186 | resource_size_t size, resource_size_t align) | 186 | resource_size_t size, resource_size_t align) |
187 | { | 187 | { |
188 | struct pci_dev *dev = data; | 188 | struct pci_dev *dev = data; |
189 | struct pci_channel *hose = dev->sysdata; | 189 | struct pci_channel *hose = dev->sysdata; |
@@ -200,7 +200,7 @@ void pcibios_align_resource(void *data, struct resource *res, | |||
200 | start = (start + 0x3ff) & ~0x3ff; | 200 | start = (start + 0x3ff) & ~0x3ff; |
201 | } | 201 | } |
202 | 202 | ||
203 | res->start = start; | 203 | return start; |
204 | } | 204 | } |
205 | 205 | ||
206 | void pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region, | 206 | void pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region, |