diff options
author | Magnus Damm <damm@opensource.se> | 2011-05-24 07:19:35 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-24 22:37:24 -0400 |
commit | 416656ca427296c646c4a75d9a58769d582ca90c (patch) | |
tree | 35803cf5428fe2dae4218d12e5ab5e11ff9139ec /arch/arm/mach-shmobile | |
parent | f7481d012060d057b2727851373ca957958d41f1 (diff) |
ARM: mach-shmobile: sh73a0: 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: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/sh73a0.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h index 97c47f43ccf9..216c3d695ef1 100644 --- a/arch/arm/mach-shmobile/include/mach/sh73a0.h +++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h | |||
@@ -465,6 +465,7 @@ enum { | |||
465 | }; | 465 | }; |
466 | /* DMA slave IDs */ | 466 | /* DMA slave IDs */ |
467 | enum { | 467 | enum { |
468 | SHDMA_SLAVE_INVALID, | ||
468 | SHDMA_SLAVE_SCIF0_TX, | 469 | SHDMA_SLAVE_SCIF0_TX, |
469 | SHDMA_SLAVE_SCIF0_RX, | 470 | SHDMA_SLAVE_SCIF0_RX, |
470 | SHDMA_SLAVE_SCIF1_TX, | 471 | SHDMA_SLAVE_SCIF1_TX, |