linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / mips / au1000 / common / pci.c
index da591f6..4e5a6e1 100644 (file)
@@ -30,6 +30,7 @@
  *  with this program; if not, write  to the Free Software Foundation, Inc.,
  *  675 Mass Ave, Cambridge, MA 02139, USA.
  */
+#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/pci.h>
 #include <linux/kernel.h>
 
 /* TBD */
 static struct resource pci_io_resource = {
-       .start  = PCI_IO_START,
-       .end    = PCI_IO_END,
-       .name   = "PCI IO space",
-       .flags  = IORESOURCE_IO
+       "pci IO space",
+       (u32)PCI_IO_START,
+       (u32)PCI_IO_END,
+       IORESOURCE_IO
 };
 
 static struct resource pci_mem_resource = {
-       .start  = PCI_MEM_START,
-       .end    = PCI_MEM_END,
-       .name   = "PCI memory space",
-       .flags  = IORESOURCE_MEM
+       "pci memory space",
+       (u32)PCI_MEM_START,
+       (u32)PCI_MEM_END,
+       IORESOURCE_MEM
 };
 
 extern struct pci_ops au1x_pci_ops;