AT91: change dma resource index
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 20 Aug 2010 14:44:33 +0000 (16:44 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 7 Sep 2010 16:53:33 +0000 (18:53 +0200)
Reported-by: Dan Liang <dan.liang@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/at91sam9g45_devices.c

index 809114d..501ac6f 100644 (file)
@@ -46,7 +46,7 @@ static struct resource hdmac_resources[] = {
                .end    = AT91_BASE_SYS + AT91_DMA + SZ_512 - 1,
                .flags  = IORESOURCE_MEM,
        },
-       [2] = {
+       [1] = {
                .start  = AT91SAM9G45_ID_DMA,
                .end    = AT91SAM9G45_ID_DMA,
                .flags  = IORESOURCE_IRQ,