aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-10-28 06:19:29 -0400
committerBryan Wu <cooloney@kernel.org>2008-10-28 06:19:29 -0400
commita2ba8b19989e038bdf1a9fcc25e860d5077d2474 (patch)
treed5d72bd510897bb54d40e336d0ef38be256d11ce /arch/blackfin/include/asm
parent3529e0414b600faa1b6d822569b3343131235813 (diff)
Blackfin arch: lookup channel2irq() only once
Add irq to struct dma_channel lookup channel2irq() only once, since channel2irq() is fairly large on some Blackfin derivatives. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm')
-rw-r--r--arch/blackfin/include/asm/dma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h
index 6509733bb0f6..9befcbae00b9 100644
--- a/arch/blackfin/include/asm/dma.h
+++ b/arch/blackfin/include/asm/dma.h
@@ -140,6 +140,7 @@ struct dma_channel {
140 struct dma_register *regs; 140 struct dma_register *regs;
141 struct dmasg *sg; /* large mode descriptor */ 141 struct dmasg *sg; /* large mode descriptor */
142 unsigned int ctrl_num; /* controller number */ 142 unsigned int ctrl_num; /* controller number */
143 unsigned int irq;
143 dma_interrupt_t irq_callback; 144 dma_interrupt_t irq_callback;
144 void *data; 145 void *data;
145 unsigned int dma_enable_flag; 146 unsigned int dma_enable_flag;