Skip to contentSkip to conversation

ARM: ux500: fix compilation after local timer rework

PATCH New Marc Zyngier 2 participants 2 messages Mar 15, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: ux500: fix compilation after local timer rework

mach-ux500/timer.c lacked the inclusion of mach/irqs.h, and thus failed to compile. Fix it and also remove an unused variable.

Test compiled only.

---
Arnd,

I've pushed this patch to my local_timers-for-arm-soc. If you can pull it one more time, that would be great.

Thanks,

	M.
 arch/arm/mach-ux500/timer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-ux500/timer.c +1 -1
index fbeed7e..e9d5807 100644
@@ -14,6 +14,7 @@
 
 #include <mach/setup.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 
 #ifdef CONFIG_HAVE_ARM_TWD
 static DEFINE_TWD_LOCAL_TIMER(u5500_twd_local_timer,
@@ -41,7 +42,6 @@ static void __init ux500_timer_init(void)
 {
 	void __iomem *mtu_timer_base;
 	void __iomem *prcmu_timer_base;
-	int err;
 
 	if (cpu_is_u5500()) {
 		mtu_timer_base = __io_address(U5500_MTU0_BASE);
Signature · 1 line
1.7.7.1
#1 lore raw

PATCH 1/1 ARM: ux500: fix compilation after local timer rework

Quoted 9 lines · Marc Zyngier

mach-ux500/timer.c lacked the inclusion of mach/irqs.h, and thus failed to compile. Fix it and also remove an unused variable.

Test compiled only.

Quoted 5 lines

---
Arnd,

I've pushed this patch to my local_timers-for-arm-soc. If you can pull it one more time, that would be great.

Thanks for the quick update, pulled into next/timers now.

Arnd