summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2010-08-20 16:44:33 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2010-09-07 18:53:33 +0200
commit8d2602e0778299e2d6084f03086b716d6e7a1e1e (patch)
tree7c96aa2d2fa2bcdbc681a8c5fbccbefab0d6961d
parentLinux 2.6.36-rc3 (diff)
downloadlinux-8d2602e0778299e2d6084f03086b716d6e7a1e1e.tar.xz
linux-8d2602e0778299e2d6084f03086b716d6e7a1e1e.zip
AT91: change dma resource index
Reported-by: Dan Liang <dan.liang@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r--arch/arm/mach-at91/at91sam9g45_devices.c2
1 files changed, 1 insertions, 1 deletions
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,