提交 a15505e6 编写于 作者: G Gustavo A. R. Silva 提交者: 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: NGustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册