OSDN Git Service

usb: cdnsp: Mark cdnsp_gadget_ops with static keyword
authorZou Wei <zou_wei@huawei.com>
Tue, 8 Dec 2020 12:30:49 +0000 (20:30 +0800)
committerPeter Chen <peter.chen@nxp.com>
Tue, 29 Dec 2020 04:36:13 +0000 (12:36 +0800)
commit7650778e79b9daf09cfccb46445036ae0ea984ac
treebf76c963f067dbe0981cf7bf479eb8aa3310d74c
parentbbf60daee7de3969502f8b8a67f9f2dca80c94c6
usb: cdnsp: Mark cdnsp_gadget_ops with static keyword

Fix the following sparse warning:

drivers/usb/cdns3/cdnsp-gadget.c:1546:29: warning: symbol 'cdnsp_gadget_ops' was not declared. Should it be static?

Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/cdns3/cdnsp-gadget.c