Skip to content

Commit

Permalink
dmaengine: move drivers/of/dma.c -> drivers/dma/of-dma.c
Browse files Browse the repository at this point in the history
as requested by Rob

Suggested-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
  • Loading branch information
Vinod Koul committed Feb 13, 2013
1 parent 4dec23d commit 5fa422c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions drivers/dma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ config DMA_ENGINE
config DMA_VIRTUAL_CHANNELS
tristate

config DMA_OF
def_bool y
depends on OF

comment "DMA Clients"
depends on DMA_ENGINE

Expand Down
2 changes: 2 additions & 0 deletions drivers/dma/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG

obj-$(CONFIG_DMA_ENGINE) += dmaengine.o
obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o
obj-$(CONFIG_DMA_OF) += of-dma.o

obj-$(CONFIG_NET_DMA) += iovlock.o
obj-$(CONFIG_INTEL_MID_DMAC) += intel_mid_dma.o
obj-$(CONFIG_DMATEST) += dmatest.o
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion drivers/of/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
obj-y = base.o dma.o
obj-y = base.o
obj-$(CONFIG_OF_FLATTREE) += fdt.o
obj-$(CONFIG_OF_PROMTREE) += pdt.o
obj-$(CONFIG_OF_ADDRESS) += address.o
Expand Down

0 comments on commit 5fa422c

Please sign in to comment.