diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-03-15 07:05:39 -0400 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2012-03-15 07:05:39 -0400 |
commit | 218a28014112b20bd15a9e6305c8b46488830bc4 (patch) | |
tree | 937c005d696e4e141ac52233a73630f6fdab4ef6 /arch/arm | |
parent | 648ab3df21add1bdfa21efeeb0b492ec45cb0a07 (diff) |
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.
Reported-by: Lee Jones <lee.jones@linaro.org>
Cc: Arnd Bergman <arnd@arndb.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-ux500/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/timer.c b/arch/arm/mach-ux500/timer.c index fbeed7e63393..e9d580702fbb 100644 --- a/arch/arm/mach-ux500/timer.c +++ b/arch/arm/mach-ux500/timer.c | |||
@@ -14,6 +14,7 @@ | |||
14 | 14 | ||
15 | #include <mach/setup.h> | 15 | #include <mach/setup.h> |
16 | #include <mach/hardware.h> | 16 | #include <mach/hardware.h> |
17 | #include <mach/irqs.h> | ||
17 | 18 | ||
18 | #ifdef CONFIG_HAVE_ARM_TWD | 19 | #ifdef CONFIG_HAVE_ARM_TWD |
19 | static DEFINE_TWD_LOCAL_TIMER(u5500_twd_local_timer, | 20 | static DEFINE_TWD_LOCAL_TIMER(u5500_twd_local_timer, |
@@ -41,7 +42,6 @@ static void __init ux500_timer_init(void) | |||
41 | { | 42 | { |
42 | void __iomem *mtu_timer_base; | 43 | void __iomem *mtu_timer_base; |
43 | void __iomem *prcmu_timer_base; | 44 | void __iomem *prcmu_timer_base; |
44 | int err; | ||
45 | 45 | ||
46 | if (cpu_is_u5500()) { | 46 | if (cpu_is_u5500()) { |
47 | mtu_timer_base = __io_address(U5500_MTU0_BASE); | 47 | mtu_timer_base = __io_address(U5500_MTU0_BASE); |