summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/dma.c
diff options
context:
space:
mode:
authorLokesh Vutla2012-10-15 23:01:01 +0200
committerTony Lindgren2012-10-15 23:01:01 +0200
commit8c4cc00552664d0be259388f2b1a49036c3757fa (patch)
tree1ca58cbac27878bd28cb6a2d04c5c52d29d2dd94 /arch/arm/mach-omap1/dma.c
parentARM: OMAP: DMA: Removing plat/dma-44xx.h (diff)
downloadkernel-qcow2-linux-8c4cc00552664d0be259388f2b1a49036c3757fa.tar.gz
kernel-qcow2-linux-8c4cc00552664d0be259388f2b1a49036c3757fa.tar.xz
kernel-qcow2-linux-8c4cc00552664d0be259388f2b1a49036c3757fa.zip
ARM: OMAP1: DMA: Moving OMAP1 DMA channel definitions to mach-omap1
Some of the omap1 dma channel definitions are used by some drivers. For moving omap1 dma channel definitions to mach-omap1/, the used ones should be defined locally to driver. Driver can eliminate it by using DT, platform data, or IORESOURCE_DMA. And moving OMAP1 DMA channel definitions to mach-omap1 Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/dma.c')
-rw-r--r--arch/arm/mach-omap1/dma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c
index 29007fef84cd..40f1dc452f36 100644
--- a/arch/arm/mach-omap1/dma.c
+++ b/arch/arm/mach-omap1/dma.c
@@ -30,6 +30,8 @@
#include <mach/irqs.h>
+#include "dma.h"
+
#define OMAP1_DMA_BASE (0xfffed800)
#define OMAP1_LOGICAL_DMA_CH_COUNT 17
#define OMAP1_DMA_STRIDE 0x40