diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-01-27 01:21:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-27 15:12:04 +0300 |
commit | 1941ab1d25e098e99df18b9041667e99858fd449 (patch) | |
tree | 02e685db500476946aed43b15555c18247e265d8 /drivers/accessibility/speakup/speakup_dtlk.c | |
parent | 0fc99422bc034de018607ef6b70f92d4bc4a236d (diff) | |
download | linux-1941ab1d25e098e99df18b9041667e99858fd449.tar.xz |
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_dtlk.c')
-rw-r--r-- | drivers/accessibility/speakup/speakup_dtlk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/accessibility/speakup/speakup_dtlk.c b/drivers/accessibility/speakup/speakup_dtlk.c index dbebed0eeeec..92838d3ae9eb 100644 --- a/drivers/accessibility/speakup/speakup_dtlk.c +++ b/drivers/accessibility/speakup/speakup_dtlk.c @@ -24,7 +24,7 @@ #define PROCSPEECH 0x00 static int synth_probe(struct spk_synth *synth); -static void dtlk_release(void); +static void dtlk_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); @@ -365,7 +365,7 @@ static int synth_probe(struct spk_synth *synth) return 0; } -static void dtlk_release(void) +static void dtlk_release(struct spk_synth *synth) { spk_stop_serial_interrupt(); if (speakup_info.port_tts) |