aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristoffer Ericson <Kristoffer.Ericson@gmail.com>2007-09-10 23:49:59 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-09-20 22:57:53 -0400
commit4f247e84bdb81aab8880f556882a449782a1ea8b (patch)
tree17849460a32089b6d11321c0cdac25256cf6a682
parentf1382305b9357c8152852d6fcf0d84570d83987a (diff)
sh: dma: Fix up build for SH7709 support.
Trivial build fixes for SH7709. Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/drivers/dma/dma-sh.c1
-rw-r--r--include/asm-sh/cpu-sh3/dma.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/drivers/dma/dma-sh.c b/arch/sh/drivers/dma/dma-sh.c
index 6e5f16cb0aa5..958bac1c585a 100644
--- a/arch/sh/drivers/dma/dma-sh.c
+++ b/arch/sh/drivers/dma/dma-sh.c
@@ -27,6 +27,7 @@ static int dmte_irq_map[] = {
27#if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ 27#if defined(CONFIG_CPU_SUBTYPE_SH7720) || \
28 defined(CONFIG_CPU_SUBTYPE_SH7751R) || \ 28 defined(CONFIG_CPU_SUBTYPE_SH7751R) || \
29 defined(CONFIG_CPU_SUBTYPE_SH7760) || \ 29 defined(CONFIG_CPU_SUBTYPE_SH7760) || \
30 defined(CONFIG_CPU_SUBTYPE_SH7709) || \
30 defined(CONFIG_CPU_SUBTYPE_SH7780) 31 defined(CONFIG_CPU_SUBTYPE_SH7780)
31 DMTE4_IRQ, 32 DMTE4_IRQ,
32 DMTE5_IRQ, 33 DMTE5_IRQ,
diff --git a/include/asm-sh/cpu-sh3/dma.h b/include/asm-sh/cpu-sh3/dma.h
index e56203086eb4..54bfece328c2 100644
--- a/include/asm-sh/cpu-sh3/dma.h
+++ b/include/asm-sh/cpu-sh3/dma.h
@@ -2,7 +2,7 @@
2#define __ASM_CPU_SH3_DMA_H 2#define __ASM_CPU_SH3_DMA_H
3 3
4 4
5#if defined(CONFIG_CPU_SUBTYPE_SH7720) 5#if defined(CONFIG_CPU_SUBTYPE_SH7720) || defined(CONFIG_CPU_SUBTYPE_SH7709)
6#define SH_DMAC_BASE 0xa4010020 6#define SH_DMAC_BASE 0xa4010020
7 7
8#define DMTE0_IRQ 48 8#define DMTE0_IRQ 48