dw_dmac: Remove compilation dependency from AVR32 and put on HAVE_CLK
authorViresh Kumar <viresh.kumar@st.com>
Thu, 3 Mar 2011 10:17:14 +0000 (15:47 +0530)
committerVinod Koul <vinod.koul@intel.com>
Sun, 6 Mar 2011 19:42:27 +0000 (01:12 +0530)
This driver will now be used in atleast two platforms AVR32 & ARM. And there is
no actual hardware dependency of this driver over AVR32 or ARM. So this
dependency can be removed altogether.

Also dw_dmac driver uses clk framework and must have compilation dependency on
HAVE_CLK

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

drivers/dma/Kconfig

index 76f6472..d700895 100644 (file)
@@ -82,7 +82,7 @@ config INTEL_IOP_ADMA
 
 config DW_DMAC
        tristate "Synopsys DesignWare AHB DMA support"
-       depends on AVR32
+       depends on HAVE_CLK
        select DMA_ENGINE
        default y if CPU_AT32AP7000
        help