remove axis toolchain dependency for etrax
[openwrt.git] / target / linux / au1000 / patches / 015-pci-resource.patch
1 Index: linux-2.6.25.4/arch/mips/au1000/common/pci.c
2 ===================================================================
3 --- linux-2.6.25.4.orig/arch/mips/au1000/common/pci.c
4 +++ linux-2.6.25.4/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 };
This page took 0.041879 seconds and 5 git commands to generate.