summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm920t/imx/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/arm920t/imx/timer.c')
-rw-r--r--arch/arm/cpu/arm920t/imx/timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm920t/imx/timer.c b/arch/arm/cpu/arm920t/imx/timer.c
index 21129a7901..e9d5577921 100644
--- a/arch/arm/cpu/arm920t/imx/timer.c
+++ b/arch/arm/cpu/arm920t/imx/timer.c
@@ -18,6 +18,7 @@
#if defined (CONFIG_IMX)
#include <asm/arch/imx-regs.h>
+#include <linux/delay.h>
int timer_init (void)
{
@@ -48,7 +49,7 @@ ulong get_timer (ulong base)
return get_timer_masked() - base;
}
-void __udelay (unsigned long usec)
+void __udelay(unsigned long usec)
{
ulong endtime = get_timer_masked() + usec;
signed long diff;