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: firefly_0821_release~27410^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3e7678333a2b3bd89e3669535faa18d53a8fa054;p=firefly-linux-kernel-4.4.55.git 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 333898077c7c..93cc6a4fb92e 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