From 45a25bfd0c52f8a3fa137216bc94d32f90bedc5d Mon Sep 17 00:00:00 2001
From: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Date: Thu, 5 Jul 2007 23:27:40 -0500
Subject: [PATCH] Update header file and clean up

Include immap.h

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
---
 lib_m68k/interrupts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib_m68k/interrupts.c b/lib_m68k/interrupts.c
index 6b3ce8975db..8919c0e8cba 100644
--- a/lib_m68k/interrupts.c
+++ b/lib_m68k/interrupts.c
@@ -2,7 +2,7 @@
  * (C) Copyright 2000-2004
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * (C) Copyright 2007
+ * (C) Copyright 2007 Freescale Semiconductor Inc
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
  *
  * See file CREDITS for list of people who contributed to this
@@ -27,8 +27,8 @@
 #include <common.h>
 #include <watchdog.h>
 #include <asm/processor.h>
+#include <asm/immap.h>
 
-#ifdef CONFIG_MCFINTC
 #define	NR_IRQS		(CFG_NUM_IRQS)
 
 /*
@@ -115,4 +115,3 @@ void int_handler (struct pt_regs *fp)
 		printf ("\nBogus External Interrupt Vector %d\n", vec);
 	}
 }
-#endif	/* CONFIG_MCFINTC */
\ No newline at end of file
-- 
GitLab