diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-25 20:11:09 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 13:18:05 +0100 |
commit | 5e3bcf30d655c2e277c77b523347685d06bb9d31 (patch) | |
tree | af3bcdca773f6ce0188d40f4b21b25288600b167 /arch/blackfin/include/asm/dma.h | |
parent | Blackfin: standardize DMAC traffic control MMRs & MDMA MMRs (diff) | |
download | linux-5e3bcf30d655c2e277c77b523347685d06bb9d31.tar.xz linux-5e3bcf30d655c2e277c77b523347685d06bb9d31.zip |
Blackfin: dma: constify MMR pointer array
The array of pointers is never written, so constify it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/dma.h')
-rw-r--r-- | arch/blackfin/include/asm/dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h index be862e7de784..d9dbc1a53534 100644 --- a/arch/blackfin/include/asm/dma.h +++ b/arch/blackfin/include/asm/dma.h @@ -116,7 +116,7 @@ void blackfin_dma_resume(void); * DMA API's *******************************************************************************/ extern struct dma_channel dma_ch[MAX_DMA_CHANNELS]; -extern struct dma_register *dma_io_base_addr[MAX_DMA_CHANNELS]; +extern struct dma_register * const dma_io_base_addr[MAX_DMA_CHANNELS]; extern int channel2irq(unsigned int channel); static inline void set_dma_start_addr(unsigned int channel, unsigned long addr) |