diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2008-04-23 17:31:18 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-04-23 17:31:18 -0400 |
commit | 7795566495ff90c541a4654d3c903ab277abadfd (patch) | |
tree | 6366dc7e8f175758124c2ef525d53845101ba6ce /arch/blackfin/mach-bf533/dma.c | |
parent | ac86a9785384843e8359c45a042cc4f87953d4c8 (diff) |
[Blackfin] arch: Give the DMA base registers a more descriptive name
The DMA base registers are available in a global named "base_addr" for
every Blackfin variant. Give this a more descriptive name, and remove
duplicate tables from some drivers.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf533/dma.c')
-rw-r--r-- | arch/blackfin/mach-bf533/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf533/dma.c b/arch/blackfin/mach-bf533/dma.c index 8d80efce396e..28655c1cb7dc 100644 --- a/arch/blackfin/mach-bf533/dma.c +++ b/arch/blackfin/mach-bf533/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 *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { | 34 | struct dma_register *dma_io_base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { |
35 | (struct dma_register *) DMA0_NEXT_DESC_PTR, | 35 | (struct dma_register *) DMA0_NEXT_DESC_PTR, |
36 | (struct dma_register *) DMA1_NEXT_DESC_PTR, | 36 | (struct dma_register *) DMA1_NEXT_DESC_PTR, |
37 | (struct dma_register *) DMA2_NEXT_DESC_PTR, | 37 | (struct dma_register *) DMA2_NEXT_DESC_PTR, |
@@ -45,7 +45,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = { | |||
45 | (struct dma_register *) MDMA_D1_NEXT_DESC_PTR, | 45 | (struct dma_register *) MDMA_D1_NEXT_DESC_PTR, |
46 | (struct dma_register *) MDMA_S1_NEXT_DESC_PTR, | 46 | (struct dma_register *) MDMA_S1_NEXT_DESC_PTR, |
47 | }; | 47 | }; |
48 | EXPORT_SYMBOL(base_addr); | 48 | EXPORT_SYMBOL(dma_io_base_addr); |
49 | 49 | ||
50 | int channel2irq(unsigned int channel) | 50 | int channel2irq(unsigned int channel) |
51 | { | 51 | { |