diff options
author | Wolfgang Denk <wd@denx.de> | 2008-04-13 14:19:23 -0700 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-13 14:19:23 -0700 |
commit | 7ec68862a27c8f6f6d566228de8f6724d964a939 (patch) | |
tree | d4c84530657c55c9ad459ff49ced237bb9fecb76 /cpu/arm1136/omap24xx | |
parent | 5252ed95204bdf55bec5a90ea69860bf2f78c643 (diff) |
Fix compile error
...as suggested by Peter Pearse
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/arm1136/omap24xx')
-rw-r--r-- | cpu/arm1136/omap24xx/interrupts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c index a50fa391d39..b9a8b93521b 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; |