aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-01-07 10:14:39 -0500
committerBryan Wu <cooloney@kernel.org>2009-01-07 10:14:39 -0500
commit211daf9d7252288ad88ab6b97268a8d828e6b696 (patch)
treeb86f5b2aae10a1c6d91e4d2d6ef82374cb42764a /arch/blackfin/mach-common
parent3e706cfcce591e50163d6e979b7fc64d91ced6a0 (diff)
Blackfin arch: rename MAX_BLACKFIN_DMA_CHANNEL to MAX_DMA_CHANNELS to match everyone else
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r--arch/blackfin/mach-common/clocks-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/clocks-init.c b/arch/blackfin/mach-common/clocks-init.c
index 39a94b3a2ed7..5d182abefc7b 100644
--- a/arch/blackfin/mach-common/clocks-init.c
+++ b/arch/blackfin/mach-common/clocks-init.c
@@ -32,7 +32,7 @@ void init_clocks(void)
32 * For example, any automatic DMAs left by U-Boot for splash screens. 32 * For example, any automatic DMAs left by U-Boot for splash screens.
33 */ 33 */
34 size_t i; 34 size_t i;
35 for (i = 0; i < MAX_BLACKFIN_DMA_CHANNEL; ++i) { 35 for (i = 0; i < MAX_DMA_CHANNELS; ++i) {
36 struct dma_register *dma = dma_io_base_addr[i]; 36 struct dma_register *dma = dma_io_base_addr[i];
37 dma->cfg = 0; 37 dma->cfg = 0;
38 } 38 }