Fix compile error
authorWolfgang Denk <wd@denx.de>
Sun, 13 Apr 2008 21:19:23 +0000 (14:19 -0700)
committerWolfgang Denk <wd@denx.de>
Sun, 13 Apr 2008 21:19:23 +0000 (14:19 -0700)
...as suggested by Peter Pearse

Signed-off-by: Wolfgang Denk <wd@denx.de>
cpu/arm1136/omap24xx/interrupts.c

index a50fa39..b9a8b93 100644 (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;