projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40d743b
)
ARM: 5712/1: SA1100: initialise spinlock in DMA code
author
Dmitry Artamonow
<mad_soft@inbox.ru>
Sat, 19 Sep 2009 04:58:54 +0000
(
05:58
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 20 Sep 2009 11:55:49 +0000
(12:55 +0100)
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>
arch/arm/mach-sa1100/dma.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-sa1100/dma.c
b/arch/arm/mach-sa1100/dma.c
index
95f9c5a
..
cb4521a
100644
(file)
--- a/
arch/arm/mach-sa1100/dma.c
+++ b/
arch/arm/mach-sa1100/dma.c
@@
-39,7
+39,7
@@
typedef struct {
static sa1100_dma_t dma_chan[SA1100_DMA_CHANNELS];
-static
spinlock_t dma_list_lock
;
+static
DEFINE_SPINLOCK(dma_list_lock)
;
static irqreturn_t dma_irq_handler(int irq, void *dev_id)