Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: dwc2: pci: Fix possible copy/paste issue

Fixes the following W=1 kernel build warning(s):

drivers/usb/dwc2/pci.c:73: warning: expecting prototype for dwc2_pci_probe(). Prototype was for dwc2_pci_remove() instead

Cc: Minas Harutyunyan <hminas@synopsys.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Acked-by: Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210526130037.856068-13-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lee Jones and committed by
Greg Kroah-Hartman
81d708bc a63acbde

+1 -1
+1 -1
drivers/usb/dwc2/pci.c
··· 64 64 }; 65 65 66 66 /** 67 - * dwc2_pci_probe() - Provides the cleanup entry points for the DWC_otg PCI 67 + * dwc2_pci_remove() - Provides the cleanup entry points for the DWC_otg PCI 68 68 * driver 69 69 * 70 70 * @pci: The programming view of DWC_otg PCI