From: Guennadi Liakhovetski Date: Wed, 6 Aug 2014 14:35:41 +0000 (+0200) Subject: dmaengine: nbpfaxi: don't build this driver where it cannot be used X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=cfc6abc3f1ee01dec27a6166f518f084544e4387;p=deliverable%2Flinux.git dmaengine: nbpfaxi: don't build this driver where it cannot be used Although this driver doesn't have any explicit compile-time architecture dependencies, it is better not to bloat kernels on those platforms, where this driver isn't needed, unless a compile test is being performed. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 901818c1b37c..6c3692da2072 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -386,6 +386,7 @@ config DMA_SUN6I config NBPFAXI_DMA tristate "Renesas Type-AXI NBPF DMA support" select DMA_ENGINE + depends on ARM || COMPILE_TEST help Support for "Type-AXI" NBPF DMA IPs from Renesas