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

Jon Hunter
2020-01-30T14:10:12Z

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@gmail.com>
> ---
> 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@nvidia.com>

Cheers
Jon

--
nvpublic