Re: [PATCH 6/8] usb: xhci: avoid warning for !PM_SLEEP

2014-05-13 Thread Felipe Balbi
On Tue, May 13, 2014 at 09:39:37PM +0200, Arnd Bergmann wrote: > On Tuesday 13 May 2014 10:28:29 Felipe Balbi wrote: > > > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c > > > index 151901c..3473296 100644 > > > --- a/drivers/usb/host/xhci-plat.c > > > +++ b/drivers/usb/ho

Re: [PATCH 6/8] usb: xhci: avoid warning for !PM_SLEEP

2014-05-13 Thread Arnd Bergmann
On Tuesday 13 May 2014 10:28:29 Felipe Balbi wrote: > > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c > > index 151901c..3473296 100644 > > --- a/drivers/usb/host/xhci-plat.c > > +++ b/drivers/usb/host/xhci-plat.c > > @@ -202,7 +202,7 @@ static int xhci_plat_remove(struct

Re: [PATCH 6/8] usb: xhci: avoid warning for !PM_SLEEP

2014-05-13 Thread Felipe Balbi
On Thu, May 08, 2014 at 03:52:19PM +0200, Arnd Bergmann wrote: > If we build a kernel with PM_SUSPEND set and no PM_SLEEP, > we get a build warning in the xhci-plat driver about unused > functions. > > To fix this, use "#ifdef CONFIG_PM_SLEEP", like we do in most > other drivers nowadays. > > Sig

[PATCH 6/8] usb: xhci: avoid warning for !PM_SLEEP

2014-05-08 Thread Arnd Bergmann
If we build a kernel with PM_SUSPEND set and no PM_SLEEP, we get a build warning in the xhci-plat driver about unused functions. To fix this, use "#ifdef CONFIG_PM_SLEEP", like we do in most other drivers nowadays. Signed-off-by: Arnd Bergmann Cc: Mathias Nyman --- drivers/usb/host/xhci-plat.c