diff options
Diffstat (limited to 'arch/arm/plat-omap/dma.c')
-rw-r--r-- | arch/arm/plat-omap/dma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index e3ac94f09006..bf0863462101 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -2337,16 +2337,16 @@ static int __init omap_init_dma(void) | |||
2337 | int ch, r; | 2337 | int ch, r; |
2338 | 2338 | ||
2339 | if (cpu_class_is_omap1()) { | 2339 | if (cpu_class_is_omap1()) { |
2340 | omap_dma_base = IO_ADDRESS(OMAP1_DMA_BASE); | 2340 | omap_dma_base = OMAP1_IO_ADDRESS(OMAP1_DMA_BASE); |
2341 | dma_lch_count = OMAP1_LOGICAL_DMA_CH_COUNT; | 2341 | dma_lch_count = OMAP1_LOGICAL_DMA_CH_COUNT; |
2342 | } else if (cpu_is_omap24xx()) { | 2342 | } else if (cpu_is_omap24xx()) { |
2343 | omap_dma_base = IO_ADDRESS(OMAP24XX_DMA4_BASE); | 2343 | omap_dma_base = OMAP2_IO_ADDRESS(OMAP24XX_DMA4_BASE); |
2344 | dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT; | 2344 | dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT; |
2345 | } else if (cpu_is_omap34xx()) { | 2345 | } else if (cpu_is_omap34xx()) { |
2346 | omap_dma_base = IO_ADDRESS(OMAP34XX_DMA4_BASE); | 2346 | omap_dma_base = OMAP2_IO_ADDRESS(OMAP34XX_DMA4_BASE); |
2347 | dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT; | 2347 | dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT; |
2348 | } else if (cpu_is_omap44xx()) { | 2348 | } else if (cpu_is_omap44xx()) { |
2349 | omap_dma_base = IO_ADDRESS(OMAP44XX_DMA4_BASE); | 2349 | omap_dma_base = OMAP2_IO_ADDRESS(OMAP44XX_DMA4_BASE); |
2350 | dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT; | 2350 | dma_lch_count = OMAP_DMA4_LOGICAL_DMA_CH_COUNT; |
2351 | } else { | 2351 | } else { |
2352 | pr_err("DMA init failed for unsupported omap\n"); | 2352 | pr_err("DMA init failed for unsupported omap\n"); |