diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-05-24 06:24:03 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 22:37:19 -0400 |
commit | f7481d012060d057b2727851373ca957958d41f1 (patch) | |
tree | 04e09030b889883518aeea002368d4e7271b6f38 /arch/arm/mach-shmobile/include/mach | |
parent | 6820e69c5e52cd127ab99e2f52664ed1e59e902f (diff) |
ARM: mach-shmobile: mark DMA slave ID 0 as invalid
This makes it possible to leave DMA slave IDs in the platform data
at default 0 value without hitting DMA channel allocation error paths.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh7372.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h index 5736efcca60c..df20d7670172 100644 --- a/arch/arm/mach-shmobile/include/mach/sh7372.h +++ b/arch/arm/mach-shmobile/include/mach/sh7372.h | |||
@@ -435,6 +435,7 @@ enum { | |||
435 | 435 | ||
436 | /* DMA slave IDs */ | 436 | /* DMA slave IDs */ |
437 | enum { | 437 | enum { |
438 | SHDMA_SLAVE_INVALID, | ||
438 | SHDMA_SLAVE_SCIF0_TX, | 439 | SHDMA_SLAVE_SCIF0_TX, |
439 | SHDMA_SLAVE_SCIF0_RX, | 440 | SHDMA_SLAVE_SCIF0_RX, |
440 | SHDMA_SLAVE_SCIF1_TX, | 441 | SHDMA_SLAVE_SCIF1_TX, |