]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: speakup: spk_serial_out and spk_wait_for_xmitr to take synth arg
authorOkash Khawaja <okash.khawaja@gmail.com>
Tue, 14 Mar 2017 13:41:52 +0000 (13:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:10:18 +0000 (11:10 +0900)
commit9176d156ca8d931bec0bf5fa3239524d94da866a
treea3a8f259de1f0380aa9ee7eecfb696bddd9ca51c
parent940f6daec092819674ce26f1b6f0be4bbb9923a8
staging: speakup: spk_serial_out and spk_wait_for_xmitr to take synth arg

These two functions are always called from a context where spk_synth instance
is available. They also use the spk_synth instance but instead of taking it
as an argument, they rely on a global spk_synth instance inside synth.c which
points to the same synth as the one being passed in as argument.

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>
drivers/staging/speakup/serialio.c
drivers/staging/speakup/speakup_apollo.c
drivers/staging/speakup/speakup_audptr.c
drivers/staging/speakup/speakup_decext.c
drivers/staging/speakup/speakup_dectlk.c
drivers/staging/speakup/spk_priv.h
drivers/staging/speakup/synth.c