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/kernel/bfin_dma_5xx.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/kernel/bfin_dma_5xx.c')
-rw-r--r-- | arch/blackfin/kernel/bfin_dma_5xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 8fd5d22cec34..18fc8a835944 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
@@ -67,7 +67,7 @@ static int __init blackfin_dma_init(void) | |||
67 | 67 | ||
68 | for (i = 0; i < MAX_BLACKFIN_DMA_CHANNEL; i++) { | 68 | for (i = 0; i < MAX_BLACKFIN_DMA_CHANNEL; i++) { |
69 | dma_ch[i].chan_status = DMA_CHANNEL_FREE; | 69 | dma_ch[i].chan_status = DMA_CHANNEL_FREE; |
70 | dma_ch[i].regs = base_addr[i]; | 70 | dma_ch[i].regs = dma_io_base_addr[i]; |
71 | mutex_init(&(dma_ch[i].dmalock)); | 71 | mutex_init(&(dma_ch[i].dmalock)); |
72 | } | 72 | } |
73 | /* Mark MEMDMA Channel 0 as requested since we're using it internally */ | 73 | /* Mark MEMDMA Channel 0 as requested since we're using it internally */ |