public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] next: microblaze: Fix build failure
@ 2015-01-03 14:53 Guenter Roeck
  2015-01-03 17:01 ` Richard Cochran
  0 siblings, 1 reply; 6+ messages in thread
From: Guenter Roeck @ 2015-01-03 14:53 UTC (permalink / raw)
  To: Michal Simek; +Cc: linux-kernel, Guenter Roeck, Richard Cochran, Jeff Kirsher

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 <richardcochran@gmail.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Guenter Roeck <linux@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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-06 13:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-03 14:53 [PATCH] next: microblaze: Fix build failure Guenter Roeck
2015-01-03 17:01 ` Richard Cochran
2015-01-05  8:52   ` Guenter Roeck
2015-01-05 13:52     ` Richard Cochran
2015-01-05 14:43       ` Richard Cochran
2015-01-06 13:28         ` Richard Cochran

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