diff options
author | Okash Khawaja <okash.khawaja@gmail.com> | 2017-03-16 08:10:17 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 15:19:09 +0900 |
commit | 98c1fda752b604c68f2d7c9a0e10c6aaa3bd2a17 (patch) | |
tree | 11e506767710a24def484f98717dfb8be18e55a7 /drivers/staging/speakup/speakup_dectlk.c | |
parent | Staging: goldfish: use __func__ instead of embedded function names (diff) | |
download | linux-dev-98c1fda752b604c68f2d7c9a0e10c6aaa3bd2a17.tar.xz linux-dev-98c1fda752b604c68f2d7c9a0e10c6aaa3bd2a17.zip |
staging: speakup: move those functions which do outgoing serial comms, into serialio.c
This moves spk_synth_immediate and spk_serial_synth_probe functions into
serialio.c. These functions do outgoing serial comms. The move is a step
towards collecting all serial comms in serialio.c. This also renames
spk_synth_immediate to spk_serial_synth_immediate.
Code inside those functions has not been changed. Along the way, this patch
also fixes a couple of spots which were calling spk_synth_immediate directly,
so that the calls now happen via the spk_syth struct.
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_dectlk.c')
-rw-r--r-- | drivers/staging/speakup/speakup_dectlk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/speakup_dectlk.c b/drivers/staging/speakup/speakup_dectlk.c index f36d579015f0..386ac9d87af6 100644 --- a/drivers/staging/speakup/speakup_dectlk.c +++ b/drivers/staging/speakup/speakup_dectlk.c @@ -133,7 +133,7 @@ static struct spk_synth synth_dectlk = { .io_ops = &spk_serial_io_ops, .probe = spk_serial_synth_probe, .release = spk_serial_release, - .synth_immediate = spk_synth_immediate, + .synth_immediate = spk_serial_synth_immediate, .catch_up = do_catch_up, .flush = synth_flush, .is_alive = spk_synth_is_alive_restart, |