aboutsummaryrefslogtreecommitdiff
path: root/include/linux/usb/role.h
diff options
context:
space:
mode:
authorGravatar Wei Yongjun <weiyongjun1@huawei.com> 2021-05-24 13:37:04 +0000
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-05-24 15:35:15 +0200
commita0765597c986ad52c9bc93319987d41bc17f59ef (patch)
treec9a717a41e5f6bfa7690a9bd71ec502386746e0a /include/linux/usb/role.h
parentusb: phy: isp1301: Deduplicate of_find_i2c_device_by_node() (diff)
downloadlinux-a0765597c986ad52c9bc93319987d41bc17f59ef.tar.gz
linux-a0765597c986ad52c9bc93319987d41bc17f59ef.tar.bz2
linux-a0765597c986ad52c9bc93319987d41bc17f59ef.zip
usb: typec: tcpci: Make symbol 'tcpci_apply_rc' static
The sparse tool complains as follows: drivers/usb/typec/tcpm/tcpci.c:118:5: warning: symbol 'tcpci_apply_rc' was not declared. Should it be static? This symbol is not used outside of tcpci.c, so marks it static. Fixes: 7257fbc7c598 ("usb: typec: tcpci: Implement callback for apply_rc") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20210524133704.2432555-1-weiyongjun1@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/role.h')
0 files changed, 0 insertions, 0 deletions