p54spi: Add missing spin_lock_init
authorMichael Büsch <m@bues.ch>
Wed, 16 Nov 2011 22:48:31 +0000 (23:48 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 16 Jan 2013 21:44:58 +0000 (16:44 -0500)
commit94bad843f7453e4353703fb4b75afde2fdeb3425
tree8438f3fed71bc3810a161fc0463292a4750ac2e8
parent7806334afcaf4f0352a9c6f813264f5ef27d00f9
p54spi: Add missing spin_lock_init

commit 32d3a3922d617a5a685a5e2d24b20d0e88f192a9 upstream.

The tx_lock is not initialized properly. Add spin_lock_init().

Signed-off-by: Michael Buesch <m@bues.ch>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net/wireless/p54/p54spi.c