summaryrefslogtreecommitdiff
path: root/cpu/arm1136/omap24xx/interrupts.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-13 14:19:23 -0700
committerWolfgang Denk <wd@denx.de>2008-04-13 14:19:23 -0700
commit7ec68862a27c8f6f6d566228de8f6724d964a939 (patch)
treed4c84530657c55c9ad459ff49ced237bb9fecb76 /cpu/arm1136/omap24xx/interrupts.c
parent5252ed95204bdf55bec5a90ea69860bf2f78c643 (diff)
downloadu-boot-imx-7ec68862a27c8f6f6d566228de8f6724d964a939.zip
u-boot-imx-7ec68862a27c8f6f6d566228de8f6724d964a939.tar.gz
u-boot-imx-7ec68862a27c8f6f6d566228de8f6724d964a939.tar.bz2
Fix compile error
...as suggested by Peter Pearse Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/arm1136/omap24xx/interrupts.c')
-rw-r--r--cpu/arm1136/omap24xx/interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c
index a50fa39..b9a8b93 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;