From: Magnus Damm Date: Tue, 24 May 2011 11:19:35 +0000 (+0000) Subject: ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid X-Git-Tag: firefly_0821_release~7613^2~1145^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=416656ca427296c646c4a75d9a58769d582ca90c;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Paul Mundt --- 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 { }; /* DMA slave IDs */ enum { + SHDMA_SLAVE_INVALID, SHDMA_SLAVE_SCIF0_TX, SHDMA_SLAVE_SCIF0_RX, SHDMA_SLAVE_SCIF1_TX,