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:
Родитель
b173079fea
Коммит
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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче