summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-10-28 11:19:29 +0100
committerBryan Wu <cooloney@kernel.org>2008-10-28 11:19:29 +0100
commita2ba8b19989e038bdf1a9fcc25e860d5077d2474 (patch)
treed5d72bd510897bb54d40e336d0ef38be256d11ce /arch/blackfin/include
parentBlackfin arch: update anomaly lists to match latest sheets (diff)
downloadlinux-a2ba8b19989e038bdf1a9fcc25e860d5077d2474.tar.xz
linux-a2ba8b19989e038bdf1a9fcc25e860d5077d2474.zip
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')
-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 {
struct dma_register *regs;
struct dmasg *sg; /* large mode descriptor */
unsigned int ctrl_num; /* controller number */
+ unsigned int irq;
dma_interrupt_t irq_callback;
void *data;
unsigned int dma_enable_flag;