diff options
author | Dmitry Artamonow <mad_soft@inbox.ru> | 2009-09-19 00:58:54 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-20 07:55:49 -0400 |
commit | 4275c13ca8859af8a1390856c82173bcdfc32938 (patch) | |
tree | abf5d1ca5a08c1a2d55f6cdff575dde092acbd6e /arch/arm/mach-sa1100 | |
parent | 40d743b8c16a8cf6e30c1d941aa6147f9550ea75 (diff) |
ARM: 5712/1: SA1100: initialise spinlock in DMA code
Declare it using DEFINE_SPINLOCK()
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100')
-rw-r--r-- | arch/arm/mach-sa1100/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/dma.c b/arch/arm/mach-sa1100/dma.c index 95f9c5a6d6d5..cb4521a6f42d 100644 --- a/arch/arm/mach-sa1100/dma.c +++ b/arch/arm/mach-sa1100/dma.c | |||
@@ -39,7 +39,7 @@ typedef struct { | |||
39 | 39 | ||
40 | static sa1100_dma_t dma_chan[SA1100_DMA_CHANNELS]; | 40 | static sa1100_dma_t dma_chan[SA1100_DMA_CHANNELS]; |
41 | 41 | ||
42 | static spinlock_t dma_list_lock; | 42 | static DEFINE_SPINLOCK(dma_list_lock); |
43 | 43 | ||
44 | 44 | ||
45 | static irqreturn_t dma_irq_handler(int irq, void *dev_id) | 45 | static irqreturn_t dma_irq_handler(int irq, void *dev_id) |