dmaengine: nbpfaxi: don't build this driver where it cannot be used
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 6 Aug 2014 14:35:41 +0000 (16:35 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 7 Aug 2014 13:57:43 +0000 (19:27 +0530)
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 <g.liakhovetski@gmx.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/Kconfig

index 901818c..6c3692d 100644 (file)
@@ -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