Skip to content

Commit

Permalink
[WATCHDOG] Sbus: cpwatchdog, remove SPIN_LOCK_UNLOCKED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby authored and Wim Van Sebroeck committed Nov 19, 2007
1 parent bf6350a commit 6027f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sbus/char/cpwatchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6027f66

Please sign in to comment.