diff options
-rw-r--r-- | drivers/char/dcc_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/dcc_tty.c b/drivers/char/dcc_tty.c index a787accdcb1..eadc7307340 100644 --- a/drivers/char/dcc_tty.c +++ b/drivers/char/dcc_tty.c @@ -26,7 +26,7 @@ MODULE_DESCRIPTION("DCC TTY Driver"); MODULE_LICENSE("GPL"); MODULE_VERSION("1.0"); -static spinlock_t g_dcc_tty_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(g_dcc_tty_lock); static struct hrtimer g_dcc_timer; static char g_dcc_buffer[16]; static int g_dcc_buffer_head; |