diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-02-12 12:15:02 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-02-13 11:09:37 -0500 |
commit | 5fa422c922c2599dbfd960faf6dfca2411cc3f99 (patch) | |
tree | 52ae231ffae2032fcf26b39a7c1b4e121bc37710 | |
parent | 4dec23d7718e6f1f5e1773698d112025169e7d49 (diff) |
dmaengine: move drivers/of/dma.c -> drivers/dma/of-dma.c
as requested by Rob
Suggested-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | drivers/dma/Kconfig | 4 | ||||
-rw-r--r-- | drivers/dma/Makefile | 2 | ||||
-rw-r--r-- | drivers/dma/of-dma.c (renamed from drivers/of/dma.c) | 0 | ||||
-rw-r--r-- | drivers/of/Makefile | 2 |
4 files changed, 7 insertions, 1 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 0b408bbb6a17..e92b5f0f8a5f 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig | |||
@@ -325,6 +325,10 @@ config DMA_ENGINE | |||
325 | config DMA_VIRTUAL_CHANNELS | 325 | config DMA_VIRTUAL_CHANNELS |
326 | tristate | 326 | tristate |
327 | 327 | ||
328 | config DMA_OF | ||
329 | def_bool y | ||
330 | depends on OF | ||
331 | |||
328 | comment "DMA Clients" | 332 | comment "DMA Clients" |
329 | depends on DMA_ENGINE | 333 | depends on DMA_ENGINE |
330 | 334 | ||
diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile index 7428feaa8705..c1ed644be9e2 100644 --- a/drivers/dma/Makefile +++ b/drivers/dma/Makefile | |||
@@ -3,6 +3,8 @@ ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG | |||
3 | 3 | ||
4 | obj-$(CONFIG_DMA_ENGINE) += dmaengine.o | 4 | obj-$(CONFIG_DMA_ENGINE) += dmaengine.o |
5 | obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o | 5 | obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o |
6 | obj-$(CONFIG_DMA_OF) += of-dma.o | ||
7 | |||
6 | obj-$(CONFIG_NET_DMA) += iovlock.o | 8 | obj-$(CONFIG_NET_DMA) += iovlock.o |
7 | obj-$(CONFIG_INTEL_MID_DMAC) += intel_mid_dma.o | 9 | obj-$(CONFIG_INTEL_MID_DMAC) += intel_mid_dma.o |
8 | obj-$(CONFIG_DMATEST) += dmatest.o | 10 | obj-$(CONFIG_DMATEST) += dmatest.o |
diff --git a/drivers/of/dma.c b/drivers/dma/of-dma.c index 59631b2c4666..59631b2c4666 100644 --- a/drivers/of/dma.c +++ b/drivers/dma/of-dma.c | |||
diff --git a/drivers/of/Makefile b/drivers/of/Makefile index eafa107aed40..e027f444d10c 100644 --- a/drivers/of/Makefile +++ b/drivers/of/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | obj-y = base.o dma.o | 1 | obj-y = base.o |
2 | obj-$(CONFIG_OF_FLATTREE) += fdt.o | 2 | obj-$(CONFIG_OF_FLATTREE) += fdt.o |
3 | obj-$(CONFIG_OF_PROMTREE) += pdt.o | 3 | obj-$(CONFIG_OF_PROMTREE) += pdt.o |
4 | obj-$(CONFIG_OF_ADDRESS) += address.o | 4 | obj-$(CONFIG_OF_ADDRESS) += address.o |