diff options
author | Magnus Damm <damm@opensource.se> | 2011-05-24 11:19:35 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-05-25 11:37:24 +0900 |
commit | 416656ca427296c646c4a75d9a58769d582ca90c (patch) | |
tree | 35803cf5428fe2dae4218d12e5ab5e11ff9139ec /arch/arm/mach-shmobile | |
parent | f7481d012060d057b2727851373ca957958d41f1 (diff) | |
download | kernel-mfld-blackbay-416656ca427296c646c4a75d9a58769d582ca90c.tar.gz kernel-mfld-blackbay-416656ca427296c646c4a75d9a58769d582ca90c.tar.bz2 kernel-mfld-blackbay-416656ca427296c646c4a75d9a58769d582ca90c.zip |
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 97c47f43ccf..216c3d695ef 100644 --- a/arch/arm/mach-shmobile/include/mach/sh73a0.h +++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h @@ -465,6 +465,7 @@ enum { }; /* DMA slave IDs */ enum { + SHDMA_SLAVE_INVALID, SHDMA_SLAVE_SCIF0_TX, SHDMA_SLAVE_SCIF0_RX, SHDMA_SLAVE_SCIF1_TX, |