diff options
Diffstat (limited to 'arch/arm/mach-at91/at91x40_time.c')
-rw-r--r-- | arch/arm/mach-at91/at91x40_time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/at91x40_time.c b/arch/arm/mach-at91/at91x40_time.c index 6ca680a1d5d1..ee06d7bcdf76 100644 --- a/arch/arm/mach-at91/at91x40_time.c +++ b/arch/arm/mach-at91/at91x40_time.c | |||
@@ -29,10 +29,10 @@ | |||
29 | #include <mach/at91_tc.h> | 29 | #include <mach/at91_tc.h> |
30 | 30 | ||
31 | #define at91_tc_read(field) \ | 31 | #define at91_tc_read(field) \ |
32 | __raw_readl(AT91_TC + field) | 32 | __raw_readl(AT91_IO_P2V(AT91_TC) + field) |
33 | 33 | ||
34 | #define at91_tc_write(field, value) \ | 34 | #define at91_tc_write(field, value) \ |
35 | __raw_writel(value, AT91_TC + field); | 35 | __raw_writel(value, AT91_IO_P2V(AT91_TC) + field); |
36 | 36 | ||
37 | /* | 37 | /* |
38 | * 3 counter/timer units present. | 38 | * 3 counter/timer units present. |