From: Lee Jones Date: Wed, 26 May 2021 13:00:28 +0000 (+0100) Subject: usb: dwc2: gadget: Repair 'dwc2_hsotg_core_init_disconnected()'s documentation X-Git-Tag: v5.15~788^2~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58aff959fc841e16f8b45bd01b78b30d23f589f5;p=platform%2Fkernel%2Flinux-starfive.git usb: dwc2: gadget: Repair 'dwc2_hsotg_core_init_disconnected()'s documentation Fixes the following W=1 kernel build warning(s): drivers/usb/dwc2/gadget.c:3349: warning: expecting prototype for dwc2_hsotg_core_init(). Prototype was for dwc2_hsotg_core_init_disconnected() instead Cc: Minas Harutyunyan Cc: Greg Kroah-Hartman Cc: Ben Dooks Cc: linux-usb@vger.kernel.org Acked-by: Minas Harutyunyan Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20210526130037.856068-16-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index b16fb36..c581ee4 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -3338,7 +3338,7 @@ static void dwc2_hsotg_irq_fifoempty(struct dwc2_hsotg *hsotg, bool periodic) static int dwc2_hsotg_ep_disable(struct usb_ep *ep); /** - * dwc2_hsotg_core_init - issue softreset to the core + * dwc2_hsotg_core_init_disconnected - issue softreset to the core * @hsotg: The device state * @is_usb_reset: Usb resetting flag *