]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: xilinx_uartps: Make cdns_rs485_supported static
authorJinjie Ruan <ruanjinjie@huawei.com>
Mon, 19 Aug 2024 12:01:07 +0000 (20:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2024 08:46:58 +0000 (10:46 +0200)
commit68c5efd9dca4b0e97791d638004c803b8a3bb3d4
tree53e4878c0b5e4a85b2959b362a2ee347fa43acf2
parentebbe30f4bba127505c5664dd67f519e5e06d16be
serial: xilinx_uartps: Make cdns_rs485_supported static

The sparse tool complains as follows:

drivers/tty/serial/xilinx_uartps.c:222:21: warning:
symbol 'cdns_rs485_supported' was not declared. Should it be static?

This symbol is not used outside xilinx_uartps.c, so marks it static.

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20240819120107.3884973-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c