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
8 static struct resource pci_io_resource = {
9 - .start = PCI_IO_START,
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
17 static struct resource pci_mem_resource = {
18 - .start = PCI_MEM_START,
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