aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-21 02:10:04 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-05-21 02:10:04 -0400
commit31d106c68b1af88835a474556052d6efbfec99c5 (patch)
tree9ba26110d9e411582d102d44584a955b0a79a984
parentdfbbbe92956b849a6704dbd5352348d6ba1165da (diff)
sh: Fix dreamcast build for IRQ changes.
When the irq.h changes went in, the dreamcast code was still referencing an old value. Switch it back to the IRQ number, which fixes this: arch/sh/boards/dreamcast/irq.c: In function `disable_systemasic_irq': arch/sh/boards/dreamcast/irq.c:59: error: `OFFCHIP_IRQ_BASE' undeclared (first use in this function) arch/sh/boards/dreamcast/irq.c:59: error: (Each undeclared identifier is reported only once arch/sh/boards/dreamcast/irq.c:59: error: for each function it appears in.) Reported-by: Adrian McMenamin <adrian@newgolddream.dyndns.info> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--include/asm-sh/dreamcast/sysasic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/dreamcast/sysasic.h b/include/asm-sh/dreamcast/sysasic.h
index 7874e3dac736..f33426608a87 100644
--- a/include/asm-sh/dreamcast/sysasic.h
+++ b/include/asm-sh/dreamcast/sysasic.h
@@ -23,7 +23,7 @@
23 takes. 23 takes.
24*/ 24*/
25 25
26#define HW_EVENT_IRQ_BASE OFFCHIP_IRQ_BASE /* 48 */ 26#define HW_EVENT_IRQ_BASE 48
27 27
28/* IRQ 13 */ 28/* IRQ 13 */
29#define HW_EVENT_VSYNC (HW_EVENT_IRQ_BASE + 5) /* VSync */ 29#define HW_EVENT_VSYNC (HW_EVENT_IRQ_BASE + 5) /* VSync */