[NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
1c8ea5aee0
commit
4ef8d0aeaf
@@ -737,7 +737,7 @@ static struct atm_dev mpc_dev = {
|
||||
.ops = &mpc_ops,
|
||||
.type = "mpc",
|
||||
.number = 42,
|
||||
.lock = SPIN_LOCK_UNLOCKED
|
||||
.lock = __SPIN_LOCK_UNLOCKED(mpc_dev.lock)
|
||||
/* members not explicitly initialised will be 0 */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user