Re: [PATCH v6 16/16] dmaengine: tegra-apb: Support COMPILE_TEST

From: Jon Hunter
Date: Thu Jan 30 2020 - 09:10:12 EST



On 30/01/2020 04:38, Dmitry Osipenko wrote:
> 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@xxxxxxxxx>
> ---
> drivers/dma/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index 98daf3aafdcc..7fc725d928b2 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -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

Acked-by: Jon Hunter <jonathanh@xxxxxxxxxx>

Cheers
Jon

--
nvpublic