浏览代码

spi/tegra: depend instead of select TEGRA_SYSTEM_DMA

It's unlikely that anyone ever wants to turn off SYSTEM_DMA, but just in
case, it makes more sense to have the driver depend on it than select it.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Olof Johansson 13 年之前
父节点
当前提交
14c173eb63
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/spi/Kconfig

+ 1 - 2
drivers/spi/Kconfig

@@ -333,8 +333,7 @@ config SPI_STMP3XXX
 
 
 config SPI_TEGRA
 config SPI_TEGRA
 	tristate "Nvidia Tegra SPI controller"
 	tristate "Nvidia Tegra SPI controller"
-	depends on ARCH_TEGRA
-	select TEGRA_SYSTEM_DMA
+	depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA
 	help
 	help
 	  SPI driver for NVidia Tegra SoCs
 	  SPI driver for NVidia Tegra SoCs