diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-07-07 18:53:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-10 08:55:18 +0200 |
commit | 25051b55a2f6f05a15ba60f81e1f529b751aab5b (patch) | |
tree | 474c320d276bec0c80e1bf500377f708815d1058 /drivers/usb/host/ohci-hcd.c | |
parent | a74005ab91856276ca5e424a239ebe73347079d8 (diff) | |
download | linux-25051b55a2f6f05a15ba60f81e1f529b751aab5b.tar.gz |
udc: lpc32xx: make symbol 'lpc32xx_usbddata' static
The sparse tool complains as follows:
drivers/usb/gadget/udc/lpc32xx_udc.c:2989:25: warning:
symbol 'lpc32xx_usbddata' was not declared. Should it be static?
This variable is not used outside of lpc32xx_udc.c, so this commit
marks it static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20200707105350.7064-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
0 files changed, 0 insertions, 0 deletions