From: Maxime Ripard Date: Thu, 7 Aug 2014 17:00:44 +0000 (+0200) Subject: dmaengine: sun6i: depends on RESET_CONTROLLER X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a0bbe990c161ddf56444efe80d9d6e15fdc47aca;p=deliverable%2Flinux.git 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 Reported-by: Randy Dunlap Signed-off-by: Vinod Koul --- 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 config DMA_SUN6I tristate "Allwinner A31 SoCs DMA support" depends on MACH_SUN6I || COMPILE_TEST + depends on RESET_CONTROLLER select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help