diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-08-30 10:46:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-30 11:12:06 -0700 |
commit | 9d8924297cd9c256c23c02abae40202563452453 (patch) | |
tree | e602b5cbbaad92b49be530f42d49cbb91df955dc /Documentation | |
parent | 9b1b0162e9aed89e2ac0a9f01157a6046b896337 (diff) | |
download | blackbird-op-linux-9d8924297cd9c256c23c02abae40202563452453.tar.gz blackbird-op-linux-9d8924297cd9c256c23c02abae40202563452453.zip |
USB: fix build error when CONFIG_PM_SLEEP isn't enabled
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>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions