]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Jazz: Fix I/O port resources.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 8 Oct 2006 18:19:11 +0000 (19:19 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 8 Oct 2006 23:15:27 +0000 (00:15 +0100)
struct resource members were shuffeled a while ago.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jazz/setup.c

index 487a9ea1ef00cd1809d9d5a5b0c57d96e3b5c1b2..3a7869fbaf322638b2428bcf452f09b132f74be6 100644 (file)
@@ -45,10 +45,27 @@ void __init plat_time_init(struct irqaction *irq)
 }
 
 static struct resource jazz_io_resources[] = {
-       { "dma1", 0x00, 0x1f, IORESOURCE_BUSY },
-       { "timer", 0x40, 0x5f, IORESOURCE_BUSY },
-       { "dma page reg", 0x80, 0x8f, IORESOURCE_BUSY },
-       { "dma2", 0xc0, 0xdf, IORESOURCE_BUSY },
+       {
+               .start  = 0x00,
+               .end    = 0x1f,
+               .name   = "dma1",
+               .flags  = IORESOURCE_BUSY
+       }, {
+               .start  = 0x40,
+               .end    = 0x5f,
+               .name   = "timer",
+               .end    = IORESOURCE_BUSY
+       }, {
+               .start  = 0x80,
+               .end    = 0x8f,
+               .name   = "dma page reg",
+               .flags  = IORESOURCE_BUSY
+       }, {
+               .start  = 0xc0,
+               .end    = 0xdf,
+               .name   = "dma2",
+               .flags  = IORESOURCE_BUSY
+       }
 };
 
 void __init plat_mem_setup(void)