summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/clocks-init.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-01-07 16:14:39 +0100
committerBryan Wu <cooloney@kernel.org>2009-01-07 16:14:39 +0100
commit211daf9d7252288ad88ab6b97268a8d828e6b696 (patch)
treeb86f5b2aae10a1c6d91e4d2d6ef82374cb42764a /arch/blackfin/mach-common/clocks-init.c
parentBlackfin arch: fix bug - kernel build fails with undefined reference to pm_ov... (diff)
downloadlinux-211daf9d7252288ad88ab6b97268a8d828e6b696.tar.xz
linux-211daf9d7252288ad88ab6b97268a8d828e6b696.zip
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/clocks-init.c')
-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)
* For example, any automatic DMAs left by U-Boot for splash screens.
*/
size_t i;
- for (i = 0; i < MAX_BLACKFIN_DMA_CHANNEL; ++i) {
+ for (i = 0; i < MAX_DMA_CHANNELS; ++i) {
struct dma_register *dma = dma_io_base_addr[i];
dma->cfg = 0;
}