cpwatchdog, remove SPIN_LOCK_UNLOCKED SPIN_LOCK_UNLOCKED is deprecated, use __SPIN_LOCK_UNLOCKED with an unique name instead
Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> Cc: Wim Van Sebroeck <[EMAIL PROTECTED]> --- commit 4e91ba06c53856bfaab065aaf9fd8f5b0dd59f6f tree ff123ed71958d9331623876dfc20efa86c639498 parent 5290a0e1fffeb61f0062ebca98e45a6a5ba75711 author Jiri Slaby <[EMAIL PROTECTED]> Thu, 25 Oct 2007 11:56:54 +0200 committer Jiri Slaby <[EMAIL PROTECTED]> Thu, 25 Oct 2007 11:56:54 +0200 drivers/sbus/char/cpwatchdog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/sbus/char/cpwatchdog.c b/drivers/sbus/char/cpwatchdog.c index 7b5773d..a4e7581 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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/