mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
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: Gustavo A. R. Silva <garsilva@embeddedor.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1c816bad41
commit
a15505e69c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue