forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
b173079fea
commit
470738758d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user