Commit a15505e6 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman

staging: speakup: fix warning for static declaration

Fix the following sparse warning:
symbol 'spk_serial_out' was not declared. Should it be static?
Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1c816bad
...@@ -243,7 +243,7 @@ unsigned char spk_serial_in_nowait(void) ...@@ -243,7 +243,7 @@ unsigned char spk_serial_in_nowait(void)
} }
EXPORT_SYMBOL_GPL(spk_serial_in_nowait); EXPORT_SYMBOL_GPL(spk_serial_in_nowait);
int spk_serial_out(struct spk_synth *in_synth, const char ch) static int spk_serial_out(struct spk_synth *in_synth, const char ch)
{ {
if (in_synth->alive && spk_wait_for_xmitr(in_synth)) { if (in_synth->alive && spk_wait_for_xmitr(in_synth)) {
outb_p(ch, speakup_info.port_tts); outb_p(ch, speakup_info.port_tts);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment