projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b173079
)
Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED
author
Jiri Slaby
<jirislaby@gmail.com>
Fri, 14 Dec 2007 00:02:57 +0000
(16:02 -0800)
committer
Jeff 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
patch
|
blob
|
history
diff --git
a/drivers/net/ibm_newemac/debug.c
b/drivers/net/ibm_newemac/debug.c
index a2fc660ca5d436e35864a6bed6b46581eaacbf50..86b756a30784f844ffd48868edfe5a9161d01d2a 100644
(file)
--- 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)
{