dsa: mv88e6xxx: Initialise the mutex as soon as it is created
authorAndrew Lunn <andrew@lunn.ch>
Tue, 10 May 2016 21:27:19 +0000 (23:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 May 2016 23:36:28 +0000 (19:36 -0400)
commitb681957ad439daf1ea67111463df783d3113c2da
tree02599443e3787f677e18c469bdc36ea56f31975c
parentcb9b9020fca5fd34ab2e21fb36fc2c7a85329426
dsa: mv88e6xxx: Initialise the mutex as soon as it is created

By initialising immediately it, we don't run the danger of using it
before it is initialised.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c