dmaengine: shdma: Update SH_DMAC_MAX_CHANNELS to 20
authorMagnus Damm <damm@opensource.se>
Tue, 24 May 2011 10:31:28 +0000 (10:31 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 25 May 2011 02:36:17 +0000 (11:36 +0900)
Update SH_DMAC_MAX_CHANNELS to support the 20 DMA
channels included in the sh73a0 SY-DMAC hardware.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/dma/shdma.h

index 3f9d3cd065841d1e7845ef26b1ba8c1009f4a87a..5ae9fc512180c979deac5bbad5687b266778032a 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/interrupt.h>
 #include <linux/list.h>
 
-#define SH_DMAC_MAX_CHANNELS 6
+#define SH_DMAC_MAX_CHANNELS 20
 #define SH_DMA_SLAVE_NUMBER 256
 #define SH_DMA_TCR_MAX 0x00FFFFFF      /* 16MB */