diff --git a/[refs] b/[refs] index 8a72a0457ce1..b06d85fd3713 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c79ee4e466dd12347f112e2af306dca35198458f +refs/heads/master: b0a5b83ee0fce9dbf8ff5fe1f8c9ae7dfafe458c diff --git a/trunk/lib/dma-debug.c b/trunk/lib/dma-debug.c index a9b6b5c9e091..c9187fed0b93 100644 --- a/trunk/lib/dma-debug.c +++ b/trunk/lib/dma-debug.c @@ -716,7 +716,7 @@ void dma_debug_init(u32 num_entries) for (i = 0; i < HASH_SIZE; ++i) { INIT_LIST_HEAD(&dma_entry_hash[i].list); - dma_entry_hash[i].lock = SPIN_LOCK_UNLOCKED; + spin_lock_init(&dma_entry_hash[i].lock); } if (dma_debug_fs_init() != 0) {