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>
This commit is contained in:
Jiri Slaby 2007-12-13 16:02:57 -08:00 committed by Jeff Garzik
parent b173079fea
commit 470738758d

View file

@ -26,7 +26,7 @@
#include "core.h" #include "core.h"
static spinlock_t emac_dbg_lock = SPIN_LOCK_UNLOCKED; static DEFINE_SPINLOCK(emac_dbg_lock);
static void emac_desc_dump(struct emac_instance *p) static void emac_desc_dump(struct emac_instance *p)
{ {