Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED
authorJiri Slaby <jirislaby@gmail.com>
Fri, 14 Dec 2007 00:02:57 +0000 (16:02 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 14 Dec 2007 21:12:45 +0000 (16:12 -0500)
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>
drivers/net/ibm_newemac/debug.c

index a2fc660ca5d436e35864a6bed6b46581eaacbf50..86b756a30784f844ffd48868edfe5a9161d01d2a 100644 (file)
@@ -26,7 +26,7 @@
 
 #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)
 {