]> err.no Git - linux-2.6/commitdiff
sh: Fix up CPU dependencies for on-chip DMAC.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 05:23:04 +0000 (14:23 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 05:23:04 +0000 (14:23 +0900)
We only handle SH-3 and SH-4 at present, don't expose it to the
other CPUs.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/Kconfig

index 333898077c7c55f2da5ac60a06e0bf3628e4c2a0..93cc6a4fb92ef26733d332018e9f9b302de4d0c0 100644 (file)
@@ -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