summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-28 03:55:29 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-28 03:55:29 +0400
commita9ef803d740bfadf5e505fbc57efa57692e27025 (patch)
tree4aed9e13d174e91d28e1728a965340e4b4d992a5 /drivers/usb/gadget
parent7c38405ca7bde60e6d3cffb87a086fc7a805a85c (diff)
downloadlinux-a9ef803d740bfadf5e505fbc57efa57692e27025.tar.xz
USB: fix build error with CONFIG_PM_RUNTIME disabled
commit bdd405d2a528 ("usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1") causes a build error if CONFIG_PM_RUNTIME is disabled. Fix that by doing a simple #ifdef guard around it. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Roger Quadros <rogerq@ti.com> Cc: Michael Welling <mwelling@emacinc.com> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions