diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-26 11:58:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-27 10:55:27 (GMT) |
commit | b97055bcf17551196a498e624b544c3e9c804ef0 (patch) | |
tree | 1a3577c870e782714da5503395743bcf3dbf961e /drivers/dma-buf | |
parent | c41251b17563234371a9b376ed4914efa4bc079b (diff) | |
download | linux-b97055bcf17551196a498e624b544c3e9c804ef0.tar.xz |
serial: stm32: mark symbols static where possible
We get 2 warnings when building kernel with W=1:
drivers/tty/serial/stm32-usart.c:63:5: warning: no previous prototype for 'stm32_pending_rx' [-Wmissing-prototypes]
drivers/tty/serial/stm32-usart.c:88:15: warning: no previous prototype for 'stm32_get_char' [-Wmissing-prototypes]
In fact, these two functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions