Skip to content

Commit

Permalink
Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby authored and Jeff Garzik committed Dec 14, 2007
1 parent b173079 commit 4707387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ibm_newemac/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4707387

Please sign in to comment.