diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-10-28 11:19:29 +0100 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-28 11:19:29 +0100 |
commit | a2ba8b19989e038bdf1a9fcc25e860d5077d2474 (patch) | |
tree | d5d72bd510897bb54d40e336d0ef38be256d11ce /arch/blackfin/include/asm/dma.h | |
parent | Blackfin arch: update anomaly lists to match latest sheets (diff) | |
download | linux-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/asm/dma.h')
-rw-r--r-- | arch/blackfin/include/asm/dma.h | 1 |
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; |