]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc95d8203b628fa812dfc1a2df81fe63e548d499d
tree71ef5094cd9e4af67acf5a1f62f9ad8ad408c39e
parent2c7c7016afd9457a6599b35a60705808340cecb2
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