drivers/usb/gadget/function/f_accessory.c:1503:5: warning: symbol
'acc_ctrlrequest_configfs' was not declared. Should it be static?
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
f_accessory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/function/f_accessory.c
b/drivers/usb/gadget/function/f_accessory.c
index a2dc735a9438d..9122bf8344c9a 100644
--- a/drivers/usb/gadget/function/f_accessory.c
+++ b/drivers/usb/gadget/function/f_accessory.c
@@ -1500,7 +1500,7 @@ static void acc_free(struct usb_function *f)
put_acc_dev(dev);
}
-int acc_ctrlrequest_configfs(struct usb_function *f,
+static int acc_ctrlrequest_configfs(struct usb_function *f,
const struct usb_ctrlrequest *ctrl) {
if (f->config != NULL && f->config->cdev != NULL)
return acc_ctrlrequest(f->config->cdev, ctrl);