diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-05-07 17:06:35 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-13 13:05:26 -0400 |
commit | 1bcd38ad2de4c1cd30387c588dfb28d637d4111d (patch) | |
tree | c8702d5bf18d3956a8a661d8aef62b79dff34cb8 /arch/arm/mach-davinci/da830.c | |
parent | 3347db8392486a1b52aab980cc445cf505c36d45 (diff) |
Davinci: timer - use ioremap()
This patch eliminates IO_ADDRESS() usage for Davinci timer definitions. The
timer code has correspondingly been modified to ioremap() MMRs instead.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/da830.c')
-rw-r--r-- | arch/arm/mach-davinci/da830.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/da830.c b/arch/arm/mach-davinci/da830.c index c5600b89f628..8a2510c5236f 100644 --- a/arch/arm/mach-davinci/da830.c +++ b/arch/arm/mach-davinci/da830.c | |||
@@ -1159,14 +1159,14 @@ static struct davinci_id da830_ids[] = { | |||
1159 | 1159 | ||
1160 | static struct davinci_timer_instance da830_timer_instance[2] = { | 1160 | static struct davinci_timer_instance da830_timer_instance[2] = { |
1161 | { | 1161 | { |
1162 | .base = IO_ADDRESS(DA8XX_TIMER64P0_BASE), | 1162 | .base = DA8XX_TIMER64P0_BASE, |
1163 | .bottom_irq = IRQ_DA8XX_TINT12_0, | 1163 | .bottom_irq = IRQ_DA8XX_TINT12_0, |
1164 | .top_irq = IRQ_DA8XX_TINT34_0, | 1164 | .top_irq = IRQ_DA8XX_TINT34_0, |
1165 | .cmp_off = DA830_CMP12_0, | 1165 | .cmp_off = DA830_CMP12_0, |
1166 | .cmp_irq = IRQ_DA830_T12CMPINT0_0, | 1166 | .cmp_irq = IRQ_DA830_T12CMPINT0_0, |
1167 | }, | 1167 | }, |
1168 | { | 1168 | { |
1169 | .base = IO_ADDRESS(DA8XX_TIMER64P1_BASE), | 1169 | .base = DA8XX_TIMER64P1_BASE, |
1170 | .bottom_irq = IRQ_DA8XX_TINT12_1, | 1170 | .bottom_irq = IRQ_DA8XX_TINT12_1, |
1171 | .top_irq = IRQ_DA8XX_TINT34_1, | 1171 | .top_irq = IRQ_DA8XX_TINT34_1, |
1172 | .cmp_off = DA830_CMP12_0, | 1172 | .cmp_off = DA830_CMP12_0, |