diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-12-13 16:02:57 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-14 16:12:45 -0500 |
commit | 470738758db2c209481fdf92ca09f60e690a62d3 (patch) | |
tree | c86243b26baa4692d7afa67fa58501a59bf2df49 /drivers/net | |
parent | b173079feaed7664a3407eb17e102010d687a051 (diff) | |
download | op-kernel-dev-470738758db2c209481fdf92ca09f60e690a62d3.zip op-kernel-dev-470738758db2c209481fdf92ca09f60e690a62d3.tar.gz |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ibm_newemac/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/debug.c b/drivers/net/ibm_newemac/debug.c index a2fc660..86b756a 100644 --- a/drivers/net/ibm_newemac/debug.c +++ b/drivers/net/ibm_newemac/debug.c @@ -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) { |