summaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-11-10 04:32:45 +0100
committerWim Van Sebroeck <wim@iguana.be>2007-11-19 21:09:52 +0000
commit6027f661f8da653f084df80f4aade21359bcea35 (patch)
treee59314c1e68b37b9ff6ff4200942e6190fe70088 /drivers/sbus/char
parentbf6350a3dfcbd0a0811d7c210beacb66e90eca47 (diff)
downloadkernel-crypto-6027f661f8da653f084df80f4aade21359bcea35.tar.gz
kernel-crypto-6027f661f8da653f084df80f4aade21359bcea35.tar.xz
kernel-crypto-6027f661f8da653f084df80f4aade21359bcea35.zip
[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>
Diffstat (limited to 'drivers/sbus/char')
-rw-r--r--drivers/sbus/char/cpwatchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/cpwatchdog.c b/drivers/sbus/char/cpwatchdog.c
index 7b5773d8821..a4e75814366 100644
--- a/drivers/sbus/char/cpwatchdog.c
+++ b/drivers/sbus/char/cpwatchdog.c
@@ -154,7 +154,7 @@ struct wd_device {
};
static struct wd_device wd_dev = {
- 0, SPIN_LOCK_UNLOCKED, 0, 0, 0, 0,
+ 0, __SPIN_LOCK_UNLOCKED(wd_dev.lock), 0, 0, 0, 0,
};
static struct timer_list wd_timer;