dma: move shdma driver to an own directory
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 2 Jul 2012 20:30:53 +0000 (22:30 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 13 Jul 2012 03:42:59 +0000 (09:12 +0530)
The shdma driver is going to be split into multiple files. To make this more
convenient move it to an own directory.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/Makefile
drivers/dma/sh/Makefile [new file with mode: 0644]
drivers/dma/sh/shdma.c [moved from drivers/dma/shdma.c with 99% similarity]
drivers/dma/sh/shdma.h [moved from drivers/dma/shdma.h with 100% similarity]

index 370a655..640356a 100644 (file)
@@ -14,7 +14,7 @@ obj-$(CONFIG_DW_DMAC) += dw_dmac.o
 obj-$(CONFIG_AT_HDMAC) += at_hdmac.o
 obj-$(CONFIG_MX3_IPU) += ipu/
 obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o
-obj-$(CONFIG_SH_DMAE) += shdma.o
+obj-$(CONFIG_SH_DMAE) += sh/
 obj-$(CONFIG_COH901318) += coh901318.o coh901318_lli.o
 obj-$(CONFIG_AMCC_PPC440SPE_ADMA) += ppc4xx/
 obj-$(CONFIG_IMX_SDMA) += imx-sdma.o
diff --git a/drivers/dma/sh/Makefile b/drivers/dma/sh/Makefile
new file mode 100644 (file)
index 0000000..ad4981a
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_SH_DMAE) += shdma.o
similarity index 99%
rename from drivers/dma/shdma.c
rename to drivers/dma/sh/shdma.c
index 19d7a8d..8ab4a1f 100644 (file)
@@ -31,7 +31,7 @@
 #include <linux/spinlock.h>
 #include <linux/rculist.h>
 
-#include "dmaengine.h"
+#include "../dmaengine.h"
 #include "shdma.h"
 
 /* DMA descriptor control */
similarity index 100%
rename from drivers/dma/shdma.h
rename to drivers/dma/sh/shdma.h