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>
This commit is contained in:
parent
f6e8716a3a
commit
bbe6fb5b96
|
@ -96,10 +96,10 @@ static struct spk_synth synth_bns = {
|
||||||
.startup = SYNTH_START,
|
.startup = SYNTH_START,
|
||||||
.checkval = SYNTH_CHECK,
|
.checkval = SYNTH_CHECK,
|
||||||
.vars = vars,
|
.vars = vars,
|
||||||
.io_ops = &spk_serial_io_ops,
|
.io_ops = &spk_ttyio_ops,
|
||||||
.probe = spk_serial_synth_probe,
|
.probe = spk_ttyio_synth_probe,
|
||||||
.release = spk_serial_release,
|
.release = spk_ttyio_release,
|
||||||
.synth_immediate = spk_serial_synth_immediate,
|
.synth_immediate = spk_ttyio_synth_immediate,
|
||||||
.catch_up = spk_do_catch_up,
|
.catch_up = spk_do_catch_up,
|
||||||
.flush = spk_synth_flush,
|
.flush = spk_synth_flush,
|
||||||
.is_alive = spk_synth_is_alive_restart,
|
.is_alive = spk_synth_is_alive_restart,
|
||||||
|
|
Loading…
Reference in New Issue