diff options
author | Domagoj Trsan <domagoj.trsan@gmail.com> | 2014-09-09 20:04:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-11 14:54:51 -0700 |
commit | 8e69a8110686572a4b88d006faa8c3c759c4c261 (patch) | |
tree | 38b28da55772c820099717b615509a77f0f0a158 /drivers/staging/speakup/speakup_dectlk.c | |
parent | e48735236b8487f9e8f25fae8622645aaa640261 (diff) |
staging: speakup: fix missing blank lines after declarations
Signed-off-by: Domagoj Trsan <domagoj.trsan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/speakup_dectlk.c')
-rw-r--r-- | drivers/staging/speakup/speakup_dectlk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/speakup/speakup_dectlk.c b/drivers/staging/speakup/speakup_dectlk.c index c07c9670eef4..69e7c2b41b94 100644 --- a/drivers/staging/speakup/speakup_dectlk.c +++ b/drivers/staging/speakup/speakup_dectlk.c @@ -169,6 +169,7 @@ static u_char lastind; static unsigned char get_index(void) { u_char rv; + rv = lastind; lastind = 0; return rv; @@ -180,6 +181,7 @@ static void read_buff_add(u_char c) if (c == 0x01) { unsigned long flags; + spin_lock_irqsave(&flush_lock, flags); is_flushing = 0; wake_up_interruptible(&flush); |