diff options
author | Olof Johansson <olof@lixom.net> | 2011-12-22 18:57:57 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-01-02 04:01:30 -0500 |
commit | 14c173eb63432ba5d0783b6c4b23a8fe0c76fb0f (patch) | |
tree | ece97bce129a81ae9c8eef358c87cbfb09943884 /drivers/spi | |
parent | 2b246283277862c4866a005852af5c70fd581824 (diff) |
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/Kconfig | 3 |
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 | |||
333 | 333 | ||
334 | config SPI_TEGRA | 334 | config SPI_TEGRA |
335 | tristate "Nvidia Tegra SPI controller" | 335 | tristate "Nvidia Tegra SPI controller" |
336 | depends on ARCH_TEGRA | 336 | depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA |
337 | select TEGRA_SYSTEM_DMA | ||
338 | help | 337 | help |
339 | SPI driver for NVidia Tegra SoCs | 338 | SPI driver for NVidia Tegra SoCs |
340 | 339 | ||