diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-27 16:55:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-05 16:36:43 -0700 |
commit | 3e20bb5a9d388554ceab73858fbf606a4d43f2dc (patch) | |
tree | a22b9b210bf977663c6a5d17a719ac54c665771e /include/linux/console.h | |
parent | c7e25a7a902b13f90ffa3eb4c21e4c3714a1913c (diff) |
USB: fix build error with CONFIG_PM_RUNTIME disabled
commit a9ef803d740bfadf5e505fbc57efa57692e27025 upstream.
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 'include/linux/console.h')
0 files changed, 0 insertions, 0 deletions