diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-07-11 14:02:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-11 16:04:45 -0700 |
commit | 487c719c00b6a4bdb24a77337897d46dfe5131f6 (patch) | |
tree | 9bb33c5a02ff5ee71d6caa1ce0dde4bb5f898afa /arch/h8300/kernel | |
parent | 8782171e5838480445ef5b3fcea1358e599fe4a2 (diff) | |
download | kernel_goldelico_gta04-487c719c00b6a4bdb24a77337897d46dfe5131f6.zip kernel_goldelico_gta04-487c719c00b6a4bdb24a77337897d46dfe5131f6.tar.gz kernel_goldelico_gta04-487c719c00b6a4bdb24a77337897d46dfe5131f6.tar.bz2 |
h8300/time: add missing #include <asm/irq_regs.h>
Fix the build error:
arch/h8300/kernel/time.c: In function 'h8300_timer_tick':
arch/h8300/kernel/time.c:39:2: error: implicit declaration of function 'get_irq_regs' [-Werror=implicit-function-declaration]
arch/h8300/kernel/time.c:39:42: error: invalid type argument of '->' (have 'int')
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/h8300/kernel')
-rw-r--r-- | arch/h8300/kernel/time.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/h8300/kernel/time.c b/arch/h8300/kernel/time.c index 32263a1..e0f7419 100644 --- a/arch/h8300/kernel/time.c +++ b/arch/h8300/kernel/time.c @@ -27,6 +27,7 @@ #include <linux/profile.h> #include <asm/io.h> +#include <asm/irq_regs.h> #include <asm/timer.h> #define TICK_SIZE (tick_nsec / 1000) |