X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Farm%2Fkernel%2Fdma.c;h=2b78838842346da390e8547cd37035184376d506;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=0e4b21e03427ea549798e0ab902c33990e503c67;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/arm/kernel/dma.c b/arch/arm/kernel/dma.c index 0e4b21e03..2b7883884 100644 --- a/arch/arm/kernel/dma.c +++ b/arch/arm/kernel/dma.c @@ -22,7 +22,7 @@ #include -spinlock_t dma_spin_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(dma_spin_lock); #if MAX_DMA_CHANNELS > 0