Files
i2som-imx-linux/include/linux
Alan Stern 701a7a17df USB: fix build error when CONFIG_PM_SLEEP isn't enabled
commit 9d8924297c upstream.

This patch fixes a build error that occurs when CONFIG_PM is enabled
and CONFIG_PM_SLEEP isn't:

>> drivers/usb/host/ohci-pci.c:294:10: error: 'usb_hcd_pci_pm_ops' undeclared here (not in a function)
      .pm = &usb_hcd_pci_pm_ops

Since the usb_hcd_pci_pm_ops structure is defined and used when
CONFIG_PM is enabled, its declaration should not be protected by
CONFIG_PM_SLEEP.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-14 06:44:27 -07:00
..
2012-11-26 11:38:03 -08:00
2013-12-04 10:50:29 -08:00
2012-11-17 13:16:12 -08:00
2014-04-14 06:44:16 -07:00
2013-07-28 16:25:59 -07:00
2012-10-02 10:30:35 -07:00
2012-08-15 08:10:29 -07:00
2012-07-19 08:59:00 -07:00
2013-04-16 21:27:26 -07:00
2012-10-02 10:30:05 -07:00
2012-12-17 10:37:42 -08:00
2014-03-11 16:10:06 -07:00
2014-01-15 15:27:11 -08:00
2013-01-11 09:07:15 -08:00
2012-07-16 09:04:42 -07:00
2013-04-05 10:04:40 -07:00
2013-08-04 16:26:03 +08:00