diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-05-14 22:57:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-15 09:31:38 +0200 |
commit | d1598d4e3b1c26215b70c8d7ea6dd1ec6d478bf9 (patch) | |
tree | 945c5d2842f8041ae5deebb4a3c87a3738133520 | |
parent | 7ca399f1eff4eb140d1a7217ad575c022ab64aa5 (diff) | |
download | linux-stable-d1598d4e3b1c26215b70c8d7ea6dd1ec6d478bf9.tar.gz linux-stable-d1598d4e3b1c26215b70c8d7ea6dd1ec6d478bf9.tar.bz2 linux-stable-d1598d4e3b1c26215b70c8d7ea6dd1ec6d478bf9.zip |
staging: speakup: use true/false instead of 1/0
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/speakup/buffers.c | 2 | ||||
-rw-r--r-- | drivers/staging/speakup/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/speakup/buffers.c b/drivers/staging/speakup/buffers.c index c0bcba9ddf03..1371ced2f5ca 100644 --- a/drivers/staging/speakup/buffers.c +++ b/drivers/staging/speakup/buffers.c @@ -80,7 +80,7 @@ void synth_buffer_add(u16 ch) /* We have written something to the speech synthesis, so we are not * paused any more. */ - spk_paused = 0; + spk_paused = false; } u16 synth_buffer_getc(void) diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index 84dff6ef46d1..869f40ebf1a7 100644 --- a/drivers/staging/speakup/main.c +++ b/drivers/staging/speakup/main.c @@ -1786,7 +1786,7 @@ static void speakup_con_update(struct vc_data *vc) speakup_date(vc); if (vc->vc_mode == KD_GRAPHICS && !spk_paused && spk_str_pause[0]) { synth_printf("%s", spk_str_pause); - spk_paused = 1; + spk_paused = true; } spin_unlock_irqrestore(&speakup_info.spinlock, flags); } |