Skip to contentSkip to conversation

ARM: ux500: fix compile error in new timer code

PATCH New Lee Jones 3 participants 3 messages Mar 28, 2012 – Mar 29, 2012

Subsystems (3)
lore
Share & tools
lore

Lee Jones

author
#0 lore raw

PATCH 1/1 ARM: ux500: fix compile error in new timer code

This patch fixes the errors below:

error: implicit declaration of function ?pr_err?
error: implicit declaration of function ?BUG?

---
 arch/arm/mach-ux500/timer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-ux500/timer.c +2 -0
index e9d5807..21ec778 100644
@@ -4,6 +4,8 @@
  * License Terms: GNU General Public License v2
  * Author: Mattias Wallin <[email protected]> for ST-Ericsson
  */
+#include <linux/kernel.h>
+#include <linux/bug.h>
 #include <linux/io.h>
 #include <linux/errno.h>
 #include <linux/clksrc-dbx500-prcmu.h>
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 ARM: ux500: fix compile error in new timer code

Quoted 6 lines · Lee Jones

This patch fixes the errors below:

error: implicit declaration of function ?pr_err?
error: implicit declaration of function ?BUG?

I'll apply and funnel to ARM-SoC when I'm back in Europe unless you want to push it to Arnd/Olof directly.

Thanks,
Linus Walleij

#2 lore raw

PATCH 1/1 ARM: ux500: fix compile error in new timer code

Quoted 7 lines · Linus Walleij
Quoted 5 lines · Lee Jones

This patch fixes the errors below:

error: implicit declaration of function ?pr_err?
error: implicit declaration of function ?BUG?

Quoted 6 lines
Quoted 1 line

I'll apply and funnel to ARM-SoC when I'm back in Europe unless you want to push it to Arnd/Olof directly.

I've applied it now to the fixes branch, as I'm collecting other patches as well.

Arnd