aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/speakup_bns.c
diff options
context:
space:
mode:
authorOkash Khawaja <okash.khawaja@gmail.com>2017-06-07 15:00:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-13 12:06:43 +0200
commitbbe6fb5b96bd2d4c39d3ed26cad8bc4242688320 (patch)
tree0d266f35ac7a84c479327348859f2e9030faddea /drivers/staging/speakup/speakup_bns.c
parentstaging: ks7010: use little-endian types (diff)
downloadlinux-dev-bbe6fb5b96bd2d4c39d3ed26cad8bc4242688320.tar.xz
linux-dev-bbe6fb5b96bd2d4c39d3ed26cad8bc4242688320.zip
staging: speakup: migrate bns to tty
Migration of bns was missed out in the patch https://patchwork.kernel.org/patch/9727725/. This patch does it by updating relevant function pointers, just like in the patch linked above. Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/speakup_bns.c')
-rw-r--r--drivers/staging/speakup/speakup_bns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/speakup/speakup_bns.c b/drivers/staging/speakup/speakup_bns.c
index a972a5147c6b..474c12770ff6 100644
--- a/drivers/staging/speakup/speakup_bns.c
+++ b/drivers/staging/speakup/speakup_bns.c
@@ -96,10 +96,10 @@ static struct spk_synth synth_bns = {
.startup = SYNTH_START,
.checkval = SYNTH_CHECK,
.vars = vars,
- .io_ops = &spk_serial_io_ops,
- .probe = spk_serial_synth_probe,
- .release = spk_serial_release,
- .synth_immediate = spk_serial_synth_immediate,
+ .io_ops = &spk_ttyio_ops,
+ .probe = spk_ttyio_synth_probe,
+ .release = spk_ttyio_release,
+ .synth_immediate = spk_ttyio_synth_immediate,
.catch_up = spk_do_catch_up,
.flush = spk_synth_flush,
.is_alive = spk_synth_is_alive_restart,