2008-06-17 12:57:04 +00:00
|
|
|
--- a/arch/mips/au1000/common/pci.c
|
|
|
|
+++ b/arch/mips/au1000/common/pci.c
|
2008-02-21 11:05:13 +00:00
|
|
|
@@ -39,15 +39,15 @@
|
2007-07-24 20:35:35 +00:00
|
|
|
|
2008-02-21 11:05:13 +00:00
|
|
|
/* TBD */
|
|
|
|
static struct resource pci_io_resource = {
|
|
|
|
- .start = PCI_IO_START,
|
|
|
|
- .end = PCI_IO_END,
|
|
|
|
+ .start = (resource_size_t)PCI_IO_START,
|
|
|
|
+ .end = (resource_size_t)PCI_IO_END,
|
|
|
|
.name = "PCI IO space",
|
|
|
|
.flags = IORESOURCE_IO
|
|
|
|
};
|
2007-07-24 20:35:35 +00:00
|
|
|
|
2008-02-21 11:05:13 +00:00
|
|
|
static struct resource pci_mem_resource = {
|
|
|
|
- .start = PCI_MEM_START,
|
|
|
|
- .end = PCI_MEM_END,
|
|
|
|
+ .start = (resource_size_t)PCI_MEM_START,
|
|
|
|
+ .end = (resource_size_t)PCI_MEM_END,
|
|
|
|
.name = "PCI memory space",
|
|
|
|
.flags = IORESOURCE_MEM
|
|
|
|
};
|