amd-xgbe: Fix initialization of the wrong spin lock
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 2 Sep 2014 14:40:22 +0000 (09:40 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 21:03:37 +0000 (14:03 -0700)
commitbec6bfb2437f4676dbaaacba6019e9dafef18962
tree8a7e6bc1b329c9fc10f8175ce77e4c0c552d6d2d
parent4ee45ea05c8710c7ab8a5eb1a72700b874712746
amd-xgbe: Fix initialization of the wrong spin lock

During allocation and initialization of the network driver structures,
the wrong pointer is used to initialize a spin lock. Fix the spin lock
initialization by using the proper pointer.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-main.c