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 3338980..93cc6a4 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