diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-15 10:11:18 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 09:59:00 -0500 |
commit | 88eb92cb4d0a1520c2f9a653fba0f838871af3ab (patch) | |
tree | 91bd04cfdada4c9737d62ab11f11e78beadc8a06 /drivers/dma/mv_xor.h | |
parent | b503fa01990f6875640339d8f4ba98dbc068f821 (diff) |
dma: mv_xor: add missing free_irq() call
Even though the driver cannot be unloaded at the moment, it is still
good to properly free the IRQ handlers in the channel removal function.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/dma/mv_xor.h')
-rw-r--r-- | drivers/dma/mv_xor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h index 698b4487b348..17043287b71a 100644 --- a/drivers/dma/mv_xor.h +++ b/drivers/dma/mv_xor.h | |||
@@ -81,6 +81,7 @@ struct mv_xor_chan { | |||
81 | spinlock_t lock; /* protects the descriptor slot pool */ | 81 | spinlock_t lock; /* protects the descriptor slot pool */ |
82 | void __iomem *mmr_base; | 82 | void __iomem *mmr_base; |
83 | unsigned int idx; | 83 | unsigned int idx; |
84 | int irq; | ||
84 | enum dma_transaction_type current_type; | 85 | enum dma_transaction_type current_type; |
85 | struct list_head chain; | 86 | struct list_head chain; |
86 | struct list_head completed_slots; | 87 | struct list_head completed_slots; |