mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[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 <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
This commit is contained in:
parent
ac86a97853
commit
7795566495
12 changed files with 14 additions and 25 deletions
|
|
@ -191,4 +191,7 @@ void clear_dma_irqstat(unsigned int channel);
|
|||
void *dma_memcpy(void *dest, const void *src, size_t count);
|
||||
void *safe_dma_memcpy(void *dest, const void *src, size_t count);
|
||||
|
||||
extern int channel2irq(unsigned int channel);
|
||||
extern struct dma_register *dma_io_base_addr[MAX_BLACKFIN_DMA_CHANNEL];
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -59,7 +59,4 @@
|
|||
#define CH_NFC CH_EMAC_TX /* PPI receive/transmit or NFC */
|
||||
#endif
|
||||
|
||||
extern int channel2irq(unsigned int channel);
|
||||
extern struct dma_register *base_addr[];
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -51,7 +51,4 @@
|
|||
#define CH_MEM_STREAM1_DEST 10 /* TX */
|
||||
#define CH_MEM_STREAM1_SRC 11 /* RX */
|
||||
|
||||
extern int channel2irq(unsigned int channel);
|
||||
extern struct dma_register *base_addr[];
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -52,7 +52,4 @@
|
|||
#define CH_MEM_STREAM1_DEST 14 /* TX */
|
||||
#define CH_MEM_STREAM1_SRC 15 /* RX */
|
||||
|
||||
extern int channel2irq(unsigned int channel);
|
||||
extern struct dma_register *base_addr[];
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -73,6 +73,4 @@
|
|||
|
||||
#define MAX_BLACKFIN_DMA_CHANNEL 32
|
||||
|
||||
extern int channel2irq(unsigned int channel);
|
||||
extern struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL];
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -32,7 +32,4 @@
|
|||
#define CH_IMEM_STREAM1_SRC 34
|
||||
#define CH_IMEM_STREAM1_DEST 35
|
||||
|
||||
extern int channel2irq(unsigned int channel);
|
||||
extern struct dma_register *base_addr[];
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue