Skip to content

Commit

Permalink
spi/tegra: depend instead of select TEGRA_SYSTEM_DMA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olof Johansson authored and Grant Likely committed Jan 2, 2012
1 parent 2b24628 commit 14c173e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 14c173e

Please sign in to comment.