[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1341380078-18580-1-git-send-email-amwang@redhat.com>
Date: Wed, 4 Jul 2012 13:34:35 +0800
From: Cong Wang <amwang@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Cong Wang <xiyou.wangcong@...il.com>
Subject: [Patch] h8300: fix a compile error in arch/h8300/kernel/time.c
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@...rs.sourceforge.jp>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists