Ver código fonte

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 <lethal@linux-sh.org>
Paul Mundt 18 anos atrás
pai
commit
3e7678333a
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      arch/sh/drivers/dma/Kconfig

+ 1 - 0
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