From 14c173eb63432ba5d0783b6c4b23a8fe0c76fb0f Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Thu, 22 Dec 2011 15:57:57 -0800 Subject: 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 Signed-off-by: Grant Likely --- drivers/spi/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/spi/Kconfig') 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 -- cgit v1.2.3