1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-08 08:08:26 +02:00
openwrt-xburst/target/linux/au1000/patches/015-pci-resource.patch
florian 055cb9a23a Hopefully fix the PCI resource conflict and upgrade to .24.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-21 11:05:13 +00:00

25 lines
672 B
Diff

diff --git a/arch/mips/au1000/common/pci.c b/arch/mips/au1000/common/pci.c
index c93d7a6..6c25e6c 100644
--- a/arch/mips/au1000/common/pci.c
+++ b/arch/mips/au1000/common/pci.c
@@ -39,15 +39,15 @@
/* 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
};
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
};