summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2011-12-22 15:57:57 -0800
committerGrant Likely <grant.likely@secretlab.ca>2012-01-02 02:01:30 -0700
commit14c173eb63432ba5d0783b6c4b23a8fe0c76fb0f (patch)
treeece97bce129a81ae9c8eef358c87cbfb09943884 /drivers/spi
parent2b246283277862c4866a005852af5c70fd581824 (diff)
downloadlwn-14c173eb63432ba5d0783b6c4b23a8fe0c76fb0f.tar.gz
lwn-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>
Diffstat (limited to 'drivers/spi')
-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