diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2009-01-07 10:14:39 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-01-07 10:14:39 -0500 |
commit | 211daf9d7252288ad88ab6b97268a8d828e6b696 (patch) | |
tree | b86f5b2aae10a1c6d91e4d2d6ef82374cb42764a /arch/blackfin/mach-bf561 | |
parent | 3e706cfcce591e50163d6e979b7fc64d91ced6a0 (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-bf561')
-rw-r--r-- | arch/blackfin/mach-bf561/dma.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/include/mach/dma.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf561/dma.c b/arch/blackfin/mach-bf561/dma.c index 24415eb82698..42b0037afe61 100644 --- a/arch/blackfin/mach-bf561/dma.c +++ b/arch/blackfin/mach-bf561/dma.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <asm/blackfin.h> | 31 | #include <asm/blackfin.h> |
32 | #include <asm/dma.h> | 32 | #include <asm/dma.h> |
33 | 33 | ||
34 | struct dma_register *dma_io_base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { | 34 | struct dma_register *dma_io_base_addr[MAX_DMA_CHANNELS] = { |
35 | (struct dma_register *) DMA1_0_NEXT_DESC_PTR, | 35 | (struct dma_register *) DMA1_0_NEXT_DESC_PTR, |
36 | (struct dma_register *) DMA1_1_NEXT_DESC_PTR, | 36 | (struct dma_register *) DMA1_1_NEXT_DESC_PTR, |
37 | (struct dma_register *) DMA1_2_NEXT_DESC_PTR, | 37 | (struct dma_register *) DMA1_2_NEXT_DESC_PTR, |
diff --git a/arch/blackfin/mach-bf561/include/mach/dma.h b/arch/blackfin/mach-bf561/include/mach/dma.h index 8bc46cd89a02..38ce66ae6c30 100644 --- a/arch/blackfin/mach-bf561/include/mach/dma.h +++ b/arch/blackfin/mach-bf561/include/mach/dma.h | |||
@@ -7,7 +7,7 @@ | |||
7 | #ifndef _MACH_DMA_H_ | 7 | #ifndef _MACH_DMA_H_ |
8 | #define _MACH_DMA_H_ | 8 | #define _MACH_DMA_H_ |
9 | 9 | ||
10 | #define MAX_BLACKFIN_DMA_CHANNEL 36 | 10 | #define MAX_DMA_CHANNELS 36 |
11 | 11 | ||
12 | #define CH_PPI0 0 | 12 | #define CH_PPI0 0 |
13 | #define CH_PPI (CH_PPI0) | 13 | #define CH_PPI (CH_PPI0) |