bnx2x: fix compilation without CONFIG_BNX2X_SRIOV
authorDmitry Kravkov <dmitry@broadcom.com>
Wed, 27 Mar 2013 08:56:10 +0000 (08:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Mar 2013 03:26:14 +0000 (23:26 -0400)
Move mutex initialization by allocation of the mailbox it protects.

introduced in commit 1d6f3cd89 'bnx2x: Prevent VF race'

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found