]> Pileus Git - ~andy/linux/commitdiff
sh: dma: Fix up build for SH7709 support.
authorKristoffer Ericson <Kristoffer.Ericson@gmail.com>
Tue, 11 Sep 2007 03:49:59 +0000 (12:49 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:53 +0000 (11:57 +0900)
Trivial build fixes for SH7709.

Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/dma-sh.c
include/asm-sh/cpu-sh3/dma.h

index 6e5f16cb0aa5dd9f74d0ed4f4e40db1991e1bcdd..958bac1c585a9fe91fed90ee7cfdb8605cd3e857 100644 (file)
@@ -27,6 +27,7 @@ static int dmte_irq_map[] = {
 #if defined(CONFIG_CPU_SUBTYPE_SH7720)  ||     \
     defined(CONFIG_CPU_SUBTYPE_SH7751R) ||     \
     defined(CONFIG_CPU_SUBTYPE_SH7760)  ||     \
+    defined(CONFIG_CPU_SUBTYPE_SH7709)  ||     \
     defined(CONFIG_CPU_SUBTYPE_SH7780)
        DMTE4_IRQ,
        DMTE5_IRQ,
index e56203086eb4cd7c33df3f3425c59d05712ac044..54bfece328c2724df33f44cf52e44ff8d96adc93 100644 (file)
@@ -2,7 +2,7 @@
 #define __ASM_CPU_SH3_DMA_H
 
 
-#if defined(CONFIG_CPU_SUBTYPE_SH7720)
+#if defined(CONFIG_CPU_SUBTYPE_SH7720) || defined(CONFIG_CPU_SUBTYPE_SH7709)
 #define SH_DMAC_BASE   0xa4010020
 
 #define DMTE0_IRQ      48