h8300: fix a compile error in arch/h8300/kernel/time.c
PATCH 1/1 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 <[email protected]>
Cc Andrew Morton <[email protected]>
Signed-off-by Cong Wang <[email protected]>
---
arch/h8300/kernel/time.c +1 -0
@@ -28,6 +28,7 @@#include <asm/io.h> #include <asm/timer.h> +#include <asm/irq_regs.h> #define TICK_SIZE (tick_nsec / 1000)