Browse Source

dma: move shdma driver to an own directory

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>
Guennadi Liakhovetski 13 years ago
parent
commit
e95be94b8c
4 changed files with 3 additions and 2 deletions
  1. 1 1
      drivers/dma/Makefile
  2. 1 0
      drivers/dma/sh/Makefile
  3. 1 1
      drivers/dma/sh/shdma.c
  4. 0 0
      drivers/dma/sh/shdma.h

+ 1 - 1
drivers/dma/Makefile

@@ -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

+ 1 - 0
drivers/dma/sh/Makefile

@@ -0,0 +1 @@
+obj-$(CONFIG_SH_DMAE) += shdma.o

+ 1 - 1
drivers/dma/shdma.c → drivers/dma/sh/shdma.c

@@ -31,7 +31,7 @@
 #include <linux/spinlock.h>
 #include <linux/rculist.h>
 
-#include "dmaengine.h"
+#include "../dmaengine.h"
 #include "shdma.h"
 
 /* DMA descriptor control */

+ 0 - 0
drivers/dma/shdma.h → drivers/dma/sh/shdma.h