浏览代码

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 年之前
父节点
当前提交
3e7678333a
共有 1 个文件被更改,包括 1 次插入0 次删除
  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