Hopefully fix the PCI resource conflict and upgrade to .24.2
[openwrt/svn-archive/archive.git] / target / linux / au1000 / patches / 015-pci-resource.patch
1 diff --git a/arch/mips/au1000/common/pci.c b/arch/mips/au1000/common/pci.c
2 index c93d7a6..6c25e6c 100644
3 --- a/arch/mips/au1000/common/pci.c
4 +++ b/arch/mips/au1000/common/pci.c
5 @@ -39,15 +39,15 @@
6
7 /* TBD */
8 static struct resource pci_io_resource = {
9 - .start = PCI_IO_START,
10 - .end = PCI_IO_END,
11 + .start = (resource_size_t)PCI_IO_START,
12 + .end = (resource_size_t)PCI_IO_END,
13 .name = "PCI IO space",
14 .flags = IORESOURCE_IO
15 };
16
17 static struct resource pci_mem_resource = {
18 - .start = PCI_MEM_START,
19 - .end = PCI_MEM_END,
20 + .start = (resource_size_t)PCI_MEM_START,
21 + .end = (resource_size_t)PCI_MEM_END,
22 .name = "PCI memory space",
23 .flags = IORESOURCE_MEM
24 };