Commit c4828d96 authored by Roland Stigge's avatar Roland Stigge Committed by Greg Kroah-Hartman
Browse files

USB: ohci-hub: Mark ohci_finish_controller_resume() as __maybe_unused



ohci_finish_controller_resume() is intended to be used in platform specific
drivers ohci-*.c, included from ohci-hcd.c. Some of them don't actually use
ohci_finish_controller_resume(), so mark it as __maybe_unused.

Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0658a336
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -317,7 +317,7 @@ static int ohci_bus_resume (struct usb_hcd *hcd)
}
}


/* Carry out the final steps of resuming the controller device */
/* Carry out the final steps of resuming the controller device */
static void ohci_finish_controller_resume(struct usb_hcd *hcd)
static void __maybe_unused ohci_finish_controller_resume(struct usb_hcd *hcd)
{
{
	struct ohci_hcd		*ohci = hcd_to_ohci(hcd);
	struct ohci_hcd		*ohci = hcd_to_ohci(hcd);
	int			port;
	int			port;