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 /include/asm-blackfin/dma.h | |
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 'include/asm-blackfin/dma.h')
-rw-r--r-- | include/asm-blackfin/dma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-blackfin/dma.h b/include/asm-blackfin/dma.h index 16d493574ba8..c0d5259e315b 100644 --- a/include/asm-blackfin/dma.h +++ b/include/asm-blackfin/dma.h | |||
@@ -191,4 +191,7 @@ void clear_dma_irqstat(unsigned int channel); | |||
191 | void *dma_memcpy(void *dest, const void *src, size_t count); | 191 | void *dma_memcpy(void *dest, const void *src, size_t count); |
192 | void *safe_dma_memcpy(void *dest, const void *src, size_t count); | 192 | void *safe_dma_memcpy(void *dest, const void *src, size_t count); |
193 | 193 | ||
194 | extern int channel2irq(unsigned int channel); | ||
195 | extern struct dma_register *dma_io_base_addr[MAX_BLACKFIN_DMA_CHANNEL]; | ||
196 | |||
194 | #endif | 197 | #endif |