1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-20 15:45:21 +01:00
openwrt/target/linux/au1000/patches/015-pci-resource.patch
Gabor Juhos 2dea6c7d0a bump to 2.6.25.4, refresh kernel patches
SVN-Revision: 11199
2008-05-19 07:34:56 +00:00

25 lines
718 B
Diff

Index: linux-2.6.25.4/arch/mips/au1000/common/pci.c
===================================================================
--- linux-2.6.25.4.orig/arch/mips/au1000/common/pci.c
+++ linux-2.6.25.4/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
};