Commit 066bebd6 authored by Peter Pearse's avatar Peter Pearse
Browse files

Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c

to prevent compilation error.
Signed-off-by: default avatarPeter Pearse <>
parent 7a837b73
......@@ -37,7 +37,7 @@
#define TIMER_LOAD_VAL 0
/* macro to read the 32 bit timer */
#define READ_TIMER (*volatile ulong*(CFG_TIMERBASE+TCRR))
#define READ_TIMER (*((volatile ulong*)(CFG_TIMERBASE+TCRR)))
static ulong timestamp;
static ulong lastinc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment