]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: speakup: make function ser_to_dev static
authorColin Ian King <colin.king@canonical.com>
Wed, 28 Jun 2017 13:13:51 +0000 (14:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 14:38:52 +0000 (16:38 +0200)
commitce73724d4d4f5f807ca0739b8993394ece9f4212
tree986dbc4cecd534245aa052d5a3bbc0262258cd01
parenta9cbe2ad656f3e9fc2054853ffc4adda71477fe6
staging: speakup: make function ser_to_dev static

The helper function ser_to_dev does not need to be in global scope, so
make it static.

Cleans up sparse warning:
"warning: symbol 'ser_to_dev' was not declared. Should it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Okash Khawaja <okash.khawaja@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/spk_ttyio.c