summaryrefslogtreecommitdiff
path: root/drivers/accessibility/speakup/speakup_spkout.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-01-26 23:21:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-27 13:12:04 +0100
commit1941ab1d25e098e99df18b9041667e99858fd449 (patch)
tree02e685db500476946aed43b15555c18247e265d8 /drivers/accessibility/speakup/speakup_spkout.c
parent0fc99422bc034de018607ef6b70f92d4bc4a236d (diff)
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_spkout.c')
-rw-r--r--drivers/accessibility/speakup/speakup_spkout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/accessibility/speakup/speakup_spkout.c b/drivers/accessibility/speakup/speakup_spkout.c
index 6e933bf1de2e..bd3d8dc300ff 100644
--- a/drivers/accessibility/speakup/speakup_spkout.c
+++ b/drivers/accessibility/speakup/speakup_spkout.c
@@ -117,8 +117,8 @@ static struct spk_synth synth_spkout = {
static void synth_flush(struct spk_synth *synth)
{
- synth->io_ops->flush_buffer();
- synth->io_ops->send_xchar(SYNTH_CLEAR);
+ synth->io_ops->flush_buffer(synth);
+ synth->io_ops->send_xchar(synth, SYNTH_CLEAR);
}
module_param_named(ser, synth_spkout.ser, int, 0444);