diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-05-24 10:23:59 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-25 02:57:23 (GMT) |
commit | 54525552c6ccfd867e819845da14be994e303218 (patch) | |
tree | ca57358031484d4e56f2576fdde272085db38e58 /arch/sh/include/cpu-sh4/cpu/sh7724.h | |
parent | 4e2b1084b0fb79c963b73586815e1ef034dc2b57 (diff) | |
download | linux-fsl-qoriq-54525552c6ccfd867e819845da14be994e303218.tar.xz |
sh: 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/sh/include/cpu-sh4/cpu/sh7724.h')
-rw-r--r-- | arch/sh/include/cpu-sh4/cpu/sh7724.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-sh4/cpu/sh7724.h b/arch/sh/include/cpu-sh4/cpu/sh7724.h index 7eb4359..3daef8e 100644 --- a/arch/sh/include/cpu-sh4/cpu/sh7724.h +++ b/arch/sh/include/cpu-sh4/cpu/sh7724.h @@ -285,6 +285,7 @@ enum { }; enum { + SHDMA_SLAVE_INVALID, SHDMA_SLAVE_SCIF0_TX, SHDMA_SLAVE_SCIF0_RX, SHDMA_SLAVE_SCIF1_TX, |