[PATCH] USB: Fix compilation error when CONFIG_PM disabled

2013-08-26 Thread Shawn Bohrer
Commit 9a11899c5e699a8d USB: OHCI: add missing PCI PM callbacks to ohci-pci.c Introduced the following compilation errors when power management is disabled: drivers/usb/host/ohci-pci.c: In function 'ohci_pci_init': drivers/usb/host/ohci-pci.c:309:35: error: 'ohci_suspend' undeclared (first use

Re: [PATCH] USB: Fix compilation error when CONFIG_PM disabled

2013-08-26 Thread Greg KH
On Mon, Aug 26, 2013 at 11:35:14AM -0500, Shawn Bohrer wrote: Commit 9a11899c5e699a8d USB: OHCI: add missing PCI PM callbacks to ohci-pci.c Introduced the following compilation errors when power management is disabled: drivers/usb/host/ohci-pci.c: In function 'ohci_pci_init':

Re: [PATCH] USB: Fix compilation error when CONFIG_PM disabled

2013-08-26 Thread Alan Stern
On Mon, 26 Aug 2013, Shawn Bohrer wrote: Commit 9a11899c5e699a8d USB: OHCI: add missing PCI PM callbacks to ohci-pci.c Introduced the following compilation errors when power management is disabled: drivers/usb/host/ohci-pci.c: In function 'ohci_pci_init':