diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-01-26 23:21:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-27 13:12:04 +0100 |
commit | 1941ab1d25e098e99df18b9041667e99858fd449 (patch) | |
tree | 02e685db500476946aed43b15555c18247e265d8 /drivers/accessibility/speakup/speakup_acntpc.c | |
parent | 0fc99422bc034de018607ef6b70f92d4bc4a236d (diff) | |
download | lwn-1941ab1d25e098e99df18b9041667e99858fd449.tar.gz lwn-1941ab1d25e098e99df18b9041667e99858fd449.zip |
speakup: add the missing synth parameter to all io functions
So that we can avoid the spk_ttyio_synth global variable in the next
commit.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20210126222147.3848175-2-samuel.thibault@ens-lyon.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility/speakup/speakup_acntpc.c')
-rw-r--r-- | drivers/accessibility/speakup/speakup_acntpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/accessibility/speakup/speakup_acntpc.c b/drivers/accessibility/speakup/speakup_acntpc.c index c94328a5bd4a..c1ec087dca13 100644 --- a/drivers/accessibility/speakup/speakup_acntpc.c +++ b/drivers/accessibility/speakup/speakup_acntpc.c @@ -25,7 +25,7 @@ #define PROCSPEECH '\r' static int synth_probe(struct spk_synth *synth); -static void accent_release(void); +static void accent_release(struct spk_synth *synth); static const char *synth_immediate(struct spk_synth *synth, const char *buf); static void do_catch_up(struct spk_synth *synth); static void synth_flush(struct spk_synth *synth); @@ -294,7 +294,7 @@ static int synth_probe(struct spk_synth *synth) return 0; } -static void accent_release(void) +static void accent_release(struct spk_synth *synth) { spk_stop_serial_interrupt(); if (speakup_info.port_tts) |