OSDN Git Service

ARM: moxart: move DMA_OF selection to driver
authorRob Herring <robh@kernel.org>
Sat, 1 Feb 2014 22:35:43 +0000 (16:35 -0600)
committerOlof Johansson <olof@lixom.net>
Mon, 3 Feb 2014 03:52:45 +0000 (19:52 -0800)
Move the DMA_OF selection to the DMA driver to fix kconfig warning:

warning: (ARCH_MOXART) selects DMA_OF which has unmet direct dependencies (DMADEVICES && OF)

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-moxart/Kconfig
drivers/dma/Kconfig

index ba470d6..3795ae2 100644 (file)
@@ -2,7 +2,6 @@ config ARCH_MOXART
        bool "MOXA ART SoC" if ARCH_MULTI_V4T
        select CPU_FA526
        select ARM_DMA_MEM_BUFFERABLE
-       select DMA_OF
        select USE_OF
        select CLKSRC_OF
        select CLKSRC_MMIO
index 9bed1a2..605b016 100644 (file)
@@ -346,6 +346,7 @@ config MOXART_DMA
        tristate "MOXART DMA support"
        depends on ARCH_MOXART
        select DMA_ENGINE
+       select DMA_OF
        select DMA_VIRTUAL_CHANNELS
        help
          Enable support for the MOXA ART SoC DMA controller.