From: Paul Mundt Date: Fri, 20 Jul 2007 05:23:04 +0000 (+0900) Subject: sh: Fix up CPU dependencies for on-chip DMAC. X-Git-Tag: v2.6.23-rc1~214^2~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e7678333a2b3bd89e3669535faa18d53a8fa054;p=linux-2.6 sh: Fix up CPU dependencies for on-chip DMAC. We only handle SH-3 and SH-4 at present, don't expose it to the other CPUs. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/drivers/dma/Kconfig b/arch/sh/drivers/dma/Kconfig index 333898077c..93cc6a4fb9 100644 --- a/arch/sh/drivers/dma/Kconfig +++ b/arch/sh/drivers/dma/Kconfig @@ -5,6 +5,7 @@ config SH_DMA_API config SH_DMA bool "SuperH on-chip DMA controller (DMAC) support" + depends on CPU_SH3 || CPU_SH4 select SH_DMA_API default n