mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Patch] h8300: fix a compile error in arch/h8300/kernel/time.c
@ 2012-07-04  5:34 Cong Wang
  0 siblings, 0 replies; only message in thread
From: Cong Wang @ 2012-07-04  5:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, Yoshinori Sato, Cong Wang

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@users.sourceforge.jp>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.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)
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-04  5:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-04  5:34 [Patch] h8300: fix a compile error in arch/h8300/kernel/time.c Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®