diff options
Diffstat (limited to 'arch/arm/mach-pnx4008/dma.c')
| -rw-r--r-- | arch/arm/mach-pnx4008/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pnx4008/dma.c b/arch/arm/mach-pnx4008/dma.c index d6a279e4b5..f7009d845b 100644 --- a/arch/arm/mach-pnx4008/dma.c +++ b/arch/arm/mach-pnx4008/dma.c | |||
| @@ -47,7 +47,7 @@ static struct ll_pool { | |||
| 47 | int count; | 47 | int count; |
| 48 | } ll_pool; | 48 | } ll_pool; |
| 49 | 49 | ||
| 50 | static spinlock_t ll_lock = SPIN_LOCK_UNLOCKED; | 50 | static DEFINE_SPINLOCK(ll_lock); |
| 51 | 51 | ||
| 52 | struct pnx4008_dma_ll *pnx4008_alloc_ll_entry(dma_addr_t * ll_dma) | 52 | struct pnx4008_dma_ll *pnx4008_alloc_ll_entry(dma_addr_t * ll_dma) |
| 53 | { | 53 | { |
| @@ -135,7 +135,7 @@ static inline void dma_decrement_usage(void) | |||
| 135 | } | 135 | } |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | static spinlock_t dma_lock = SPIN_LOCK_UNLOCKED; | 138 | static DEFINE_SPINLOCK(dma_lock); |
| 139 | 139 | ||
| 140 | static inline void pnx4008_dma_lock(void) | 140 | static inline void pnx4008_dma_lock(void) |
| 141 | { | 141 | { |
