alx: fix lockdep annotation
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Thu, 11 Jul 2013 13:53:21 +0000 (15:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jul 2013 18:47:07 +0000 (11:47 -0700)
commita8798a5c77c9981e88caef1373a3310bf8aed219
tree71ef5094cd9e4af67acf5a1f62f9ad8ad408c39e
parentf89e57c4f5d7efdbe73b6214c73058aa335870e4
alx: fix lockdep annotation

Move spin_lock_init to be called before the spinlocks are used, preventing a lockdep splat.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/alx/main.c