Fix compile error

...as suggested by Peter Pearse

Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Wolfgang Denk 2008-04-13 14:19:23 -07:00
parent 5252ed9520
commit 7ec68862a2

View File

@ -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;