From: Olof Johansson Date: Thu, 22 Dec 2011 23:57:57 +0000 (-0800) Subject: spi/tegra: depend instead of select TEGRA_SYSTEM_DMA X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=14c173eb63432ba5d0783b6c4b23a8fe0c76fb0f;p=linux-beck.git 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 --- 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