alx: fix lockdep annotation
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Thu, 11 Jul 2013 13:53:21 +0000 (15:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2013 23:29:58 +0000 (16:29 -0700)
commit61b6f1280da836ca67e6e4cfaefd65e989f6bfbc
treee2f1d996f195507208c924890674bc657e284f07
parent53effe1697676189395fc9f8a02c749e19cc9daa
alx: fix lockdep annotation

[ Upstream commit a8798a5c77c9981e88caef1373a3310bf8aed219 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/atheros/alx/main.c