summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2011-12-23 00:57:57 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-01-02 10:01:30 +0100
commit14c173eb63432ba5d0783b6c4b23a8fe0c76fb0f (patch)
treeece97bce129a81ae9c8eef358c87cbfb09943884
parentspi-topcliff-pch: Change company name OKI SEMICONDUCTOR to LAPIS Semiconductor (diff)
downloadlinux-14c173eb63432ba5d0783b6c4b23a8fe0c76fb0f.tar.xz
linux-14c173eb63432ba5d0783b6c4b23a8fe0c76fb0f.zip
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>
-rw-r--r--drivers/spi/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b02920a6e974..a1c468e25918 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -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