From: Nicolas Ferre Date: Fri, 20 Aug 2010 14:44:33 +0000 (+0200) Subject: AT91: change dma resource index X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8d2602e0778299e2d6084f03086b716d6e7a1e1e;p=linux-beck.git AT91: change dma resource index Reported-by: Dan Liang Signed-off-by: Nicolas Ferre --- diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index 809114d5a5a6..501ac6fae2e7 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c @@ -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,