Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED

SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

authored by Jiri Slaby and committed by Jeff Garzik 47073875 b173079f

+1 -1
+1 -1
drivers/net/ibm_newemac/debug.c
··· 26 27 #include "core.h" 28 29 - static spinlock_t emac_dbg_lock = SPIN_LOCK_UNLOCKED; 30 31 static void emac_desc_dump(struct emac_instance *p) 32 {
··· 26 27 #include "core.h" 28 29 + static DEFINE_SPINLOCK(emac_dbg_lock); 30 31 static void emac_desc_dump(struct emac_instance *p) 32 {