]> git.baikalelectronics.ru Git - kernel.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)
commit8cd73b91a0ea6f4bfa02d8dc5c286a904ad1ff3e
tree986dbc4cecd534245aa052d5a3bbc0262258cd01
parenta528a72d34f1a417e15e3d71f1921e4d2ed6ac6f
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