]> Pileus Git - ~andy/linux/commitdiff
spi/tegra: depend instead of select TEGRA_SYSTEM_DMA
authorOlof Johansson <olof@lixom.net>
Thu, 22 Dec 2011 23:57:57 +0000 (15:57 -0800)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 2 Jan 2012 09:01:30 +0000 (02:01 -0700)
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>
drivers/spi/Kconfig

index b02920a6e974b3c3114d87824a0a3d12a4e16406..a1c468e25918feb5520a4439c8010d4ce8573ea3 100644 (file)
@@ -333,8 +333,7 @@ config SPI_STMP3XXX
 
 config SPI_TEGRA
        tristate "Nvidia Tegra SPI controller"
-       depends on ARCH_TEGRA
-       select TEGRA_SYSTEM_DMA
+       depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA
        help
          SPI driver for NVidia Tegra SoCs