Messages in this thread Patch in this message | | | From | Geert Uytterhoeven <> | Subject | [PATCH 3/5] h8300/time: Add missing #include <asm/irq_regs.h> | Date | Sat, 2 Jun 2012 22:35:37 +0200 |
| |
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> --- 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) -- 1.7.0.4
| |