linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / mips / philips / pnx8550 / common / pci.c
index eee4f3d..baa6905 100644 (file)
 #include <nand.h>
 
 static struct resource pci_io_resource = {
-       .start  = PNX8550_PCIIO + 0x1000,       /* reserve regacy I/O space */
-       .end    = PNX8550_PCIIO + PNX8550_PCIIO_SIZE,
-       .name   = "pci IO space",
-       .flags  = IORESOURCE_IO
+       "pci IO space",
+       (u32)(PNX8550_PCIIO + 0x1000),  /* reserve regacy I/O space */
+       (u32)(PNX8550_PCIIO + PNX8550_PCIIO_SIZE),
+       IORESOURCE_IO
 };
 
 static struct resource pci_mem_resource = {
-       .start  = PNX8550_PCIMEM,
-       .end    = PNX8550_PCIMEM + PNX8550_PCIMEM_SIZE - 1,
-       .name   = "pci memory space",
-       .flags  = IORESOURCE_MEM
+       "pci memory space",
+       (u32)(PNX8550_PCIMEM),
+       (u32)(PNX8550_PCIMEM + PNX8550_PCIMEM_SIZE - 1),
+       IORESOURCE_MEM
 };
 
 extern struct pci_ops pnx8550_pci_ops;