diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-08-30 10:46:00 -0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-10-26 21:06:00 +0100 |
commit | bc96269f72229f0b175bc6716040331650656b41 (patch) | |
tree | e0ae3bb770de0107de046b056da36d39a7453f5f /drivers/gpu | |
parent | 223f7a608895eb1b7bc39c7e9f0b43a45f24a58f (diff) | |
download | kernel_samsung_smdk4412-bc96269f72229f0b175bc6716040331650656b41.zip kernel_samsung_smdk4412-bc96269f72229f0b175bc6716040331650656b41.tar.gz kernel_samsung_smdk4412-bc96269f72229f0b175bc6716040331650656b41.tar.bz2 |
USB: fix build error when CONFIG_PM_SLEEP isn't enabled
commit 9d8924297cd9c256c23c02abae40202563452453 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions