Skip to content

Commit

Permalink
sh: dma: Fix up build for SH7709 support.
Browse files Browse the repository at this point in the history
Trivial build fixes for SH7709.

Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Kristoffer Ericson authored and Paul Mundt committed Sep 21, 2007
1 parent f138230 commit 4f247e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/sh/drivers/dma/dma-sh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion include/asm-sh/cpu-sh3/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f247e8

Please sign in to comment.