提交 8d2602e0 编写于 作者: N Nicolas Ferre

AT91: change dma resource index

Reported-by: NDan Liang <dan.liang@atmel.com>
Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
上级 2bfc96a1
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册