dmaengine: tegra-apb: Support COMPILE_TEST
authorDmitry Osipenko <digetx@gmail.com>
Sun, 9 Feb 2020 16:33:54 +0000 (19:33 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Feb 2020 06:27:34 +0000 (11:57 +0530)
There is nothing arch-specific in the driver's code, so let's enable
compile-testing for the driver.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20200209163356.6439-18-digetx@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index 98daf3aafdcc5a56dccc346dcf9623e7361fe394..7fc725d928b2022db4c58eadb375c395887d0b51 100644 (file)
@@ -617,7 +617,7 @@ config TXX9_DMAC
 
 config TEGRA20_APB_DMA
        tristate "NVIDIA Tegra20 APB DMA support"
-       depends on ARCH_TEGRA
+       depends on ARCH_TEGRA || COMPILE_TEST
        select DMA_ENGINE
        help
          Support for the NVIDIA Tegra20 APB DMA controller driver. The