From: Wolfgang Denk Date: Sun, 13 Apr 2008 21:19:23 +0000 (-0700) Subject: Fix compile error X-Git-Tag: v1.3.3-rc1~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7ec68862a27c8f6f6d566228de8f6724d964a939;p=u-boot Fix compile error ...as suggested by Peter Pearse Signed-off-by: Wolfgang Denk --- diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c index a50fa391d3..b9a8b93521 100644 --- a/cpu/arm1136/omap24xx/interrupts.c +++ b/cpu/arm1136/omap24xx/interrupts.c @@ -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;