Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757452Ab2FDUQz (ORCPT ); Mon, 4 Jun 2012 16:16:55 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:36006 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752735Ab2FDUQx (ORCPT ); Mon, 4 Jun 2012 16:16:53 -0400 Date: Mon, 4 Jun 2012 16:16:52 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Roland Stigge cc: gregkh@linuxfoundation.org, , , , , , , Subject: Re: [PATCH] ohci-hub: Mark ohci_finish_controller_resume() as __maybe_unused In-Reply-To: <1338837608-23976-1-git-send-email-stigge@antcom.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 33 On Mon, 4 Jun 2012, Roland Stigge wrote: > 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: Roland Stigge Acked-by: Alan Stern > --- > drivers/usb/host/ohci-hub.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-2.6.orig/drivers/usb/host/ohci-hub.c > +++ linux-2.6/drivers/usb/host/ohci-hub.c > @@ -317,7 +317,7 @@ static int ohci_bus_resume (struct usb_h > } > > /* 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); > int port; > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/