[Patch] h8300: fix a compile error in arch/h8300/kernel/time.c

From: Cong Wang
Date: Wed Jul 04 2012 - 01:35:06 EST

On h8300 we got:
arch/h8300/kernel/time.c:39:2: error: implicit declaration of function 'get_irq_regs' [-Werror=implicit-function-declaration]

this is due to we forgot to #include <asm/irq_regs.h>.

Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Cong Wang <xiyou.wangcong@xxxxxxxxx>

diff --git a/arch/h8300/kernel/time.c b/arch/h8300/kernel/time.c
index 32263a1..20d2140 100644
--- a/arch/h8300/kernel/time.c
+++ b/arch/h8300/kernel/time.c
@@ -28,6 +28,7 @@

#include <asm/io.h>
#include <asm/timer.h>
+#include <asm/irq_regs.h>

#define TICK_SIZE (tick_nsec / 1000)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/