diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-12-14 01:02:57 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-14 22:12:45 +0100 |
commit | 470738758db2c209481fdf92ca09f60e690a62d3 (patch) | |
tree | c86243b26baa4692d7afa67fa58501a59bf2df49 /drivers/net | |
parent | net: smc911x: shut up compiler warnings (diff) | |
download | linux-470738758db2c209481fdf92ca09f60e690a62d3.tar.xz linux-470738758db2c209481fdf92ca09f60e690a62d3.zip |
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 a2fc660ca5d4..86b756a30784 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) { |