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 a50fa391d3986218693ccb672ac9bbeea6fde959..b9a8b93521b8ba62b87ea809bf11df9c70e1c5cb 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;