aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-08-07 13:00:44 -0400
committerVinod Koul <vinod.koul@intel.com>2014-08-08 13:12:19 -0400
commita0bbe990c161ddf56444efe80d9d6e15fdc47aca (patch)
treea6e874b082fe9d2d4d01604013eaf79af1840c8a
parent6758ddafad55fc8e665bb03ff103d3e410483fe9 (diff)
dmaengine: sun6i: depends on RESET_CONTROLLER
Fixes a compilation error when RESET_CONTROLLER is not enabled in the configuration. drivers/dma/sun6i-dma.c: In function 'sun6i_dma_probe': drivers/dma/sun6i-dma.c:911:2: error: implicit declaration of function 'devm_reset_control_get' [-Werror=implicit-function-declaration] Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--drivers/dma/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 6c3692da2072..f2fefa327c35 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -378,6 +378,7 @@ config XILINX_VDMA
378config DMA_SUN6I 378config DMA_SUN6I
379 tristate "Allwinner A31 SoCs DMA support" 379 tristate "Allwinner A31 SoCs DMA support"
380 depends on MACH_SUN6I || COMPILE_TEST 380 depends on MACH_SUN6I || COMPILE_TEST
381 depends on RESET_CONTROLLER
381 select DMA_ENGINE 382 select DMA_ENGINE
382 select DMA_VIRTUAL_CHANNELS 383 select DMA_VIRTUAL_CHANNELS
383 help 384 help