Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[WATCHDOG] Sbus: cpwatchdog, remove SPIN_LOCK_UNLOCKED

cpwatchdog, remove SPIN_LOCK_UNLOCKED

SPIN_LOCK_UNLOCKED is deprecated, use __SPIN_LOCK_UNLOCKED with an unique
name instead

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Jiri Slaby and committed by
Wim Van Sebroeck
6027f661 bf6350a3

+1 -1
+1 -1
drivers/sbus/char/cpwatchdog.c
··· 154 154 }; 155 155 156 156 static struct wd_device wd_dev = { 157 - 0, SPIN_LOCK_UNLOCKED, 0, 0, 0, 0, 157 + 0, __SPIN_LOCK_UNLOCKED(wd_dev.lock), 0, 0, 0, 0, 158 158 }; 159 159 160 160 static struct timer_list wd_timer;