[brcm63xx] allow bcm6338 to get the base address of the memory controller register...
[openwrt.git] / target / linux / au1000 / patches / 015-pci-resource.patch
1 --- a/arch/mips/au1000/common/pci.c
2 +++ b/arch/mips/au1000/common/pci.c
3 @@ -39,15 +39,15 @@
4
5 /* TBD */
6 static struct resource pci_io_resource = {
7 - .start = PCI_IO_START,
8 - .end = PCI_IO_END,
9 + .start = (resource_size_t)PCI_IO_START,
10 + .end = (resource_size_t)PCI_IO_END,
11 .name = "PCI IO space",
12 .flags = IORESOURCE_IO
13 };
14
15 static struct resource pci_mem_resource = {
16 - .start = PCI_MEM_START,
17 - .end = PCI_MEM_END,
18 + .start = (resource_size_t)PCI_MEM_START,
19 + .end = (resource_size_t)PCI_MEM_END,
20 .name = "PCI memory space",
21 .flags = IORESOURCE_MEM
22 };
This page took 0.046228 seconds and 5 git commands to generate.