|
@@ -99,10 +99,10 @@ static struct spk_synth synth_acntsa = {
|
|
|
.startup = SYNTH_START,
|
|
|
.checkval = SYNTH_CHECK,
|
|
|
.vars = vars,
|
|
|
- .io_ops = &spk_serial_io_ops,
|
|
|
+ .io_ops = &spk_ttyio_ops,
|
|
|
.probe = synth_probe,
|
|
|
- .release = spk_serial_release,
|
|
|
- .synth_immediate = spk_serial_synth_immediate,
|
|
|
+ .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,
|
|
@@ -125,7 +125,7 @@ static int synth_probe(struct spk_synth *synth)
|
|
|
{
|
|
|
int failed;
|
|
|
|
|
|
- failed = spk_serial_synth_probe(synth);
|
|
|
+ failed = spk_ttyio_synth_probe(synth);
|
|
|
if (failed == 0) {
|
|
|
synth->synth_immediate(synth, "\033=R\r");
|
|
|
mdelay(100);
|