Microblaze build in linux-next fails with arch/microblaze/kernel/timer.c:224:2: error: implicit declaration of function 'timecounter_init'
Caused by missing include file in microblaze timer code. Fixes: 74d23cc704d1 ("time: move the timecounter/cyclecounter code into its own file") Cc: Richard Cochran <richardcoch...@gmail.com> Cc: Jeff Kirsher <jeffrey.t.kirs...@intel.com> Signed-off-by: Guenter Roeck <li...@roeck-us.net> --- arch/microblaze/kernel/timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/kernel/timer.c b/arch/microblaze/kernel/timer.c index dd96f0e..c897745 100644 --- a/arch/microblaze/kernel/timer.c +++ b/arch/microblaze/kernel/timer.c @@ -17,6 +17,7 @@ #include <linux/clockchips.h> #include <linux/of_address.h> #include <linux/of_irq.h> +#include <linux/timecounter.h> #include <asm/cpuinfo.h> static void __iomem *timer_baseaddr; -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/