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: v3.0-rc1~155^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=416656ca427296c646c4a75d9a58769d582ca90c;p=platform%2Fupstream%2Fkernel-adaptation-pc.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 97c47f4..216c3d6 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,