]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
AT91: change dma resource index
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 20 Aug 2010 14:44:33 +0000 (16:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:18:37 +0000 (17:18 -0700)
commit 8d2602e0778299e2d6084f03086b716d6e7a1e1e upstream.

Reported-by: Dan Liang <dan.liang@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-at91/at91sam9g45_devices.c

index 809114d5a5a6690ec3c4f510bb6cb88fc7fede99..501ac6fae2e7012c175bd836673ecd88a7f75bd6 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,