diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-03-24 14:42:53 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-26 14:28:33 +0100 |
commit | 601144568ce09f0ca47834ce6cb535cd1cb70b55 (patch) | |
tree | 5205827ea37a497854338b801ceebf77ae4d1418 /drivers/usb/cdns3/cdns3-trace.c | |
parent | a58977b2f831e931b3f9268e3051c875ec00f800 (diff) |
usb: typec: tcpci_maxim: Make symbol 'max_tcpci_tcpci_write_table' static
The sparse tool complains as follows:
drivers/usb/typec/tcpm/tcpci_maxim.c:55:34: warning:
symbol 'max_tcpci_tcpci_write_table' was not declared. Should it be static?
This symbol is not used outside of tcpci_maxim.c, so this
commit marks it static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20210324144253.1011234-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions