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 <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
Olof Johansson 2011-12-22 15:57:57 -08:00 • committed by Grant Likely
commit 14c173eb63

View 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