disable CONFIG_USB_SUPPORT in generic config for 2.6.25 & 2.6.26 and enable it on...
[openwrt-10.03/.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  };