diff options
author | Sarah Sharp <[email protected]> | 2010-10-15 11:24:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-10-22 10:22:14 -0700 |
commit | b5b5c3ac5123dab047cfeff472053ab737052e9b (patch) | |
tree | d86d34c3e268f3ff52154add1376e89e1a98bdb2 /scripts/basic/docproc.c | |
parent | 56626a72a47bf3e50875d960d6b5f17b9bee0ab2 (diff) |
USB: xhci: Fix compile error when CONFIG_PM=n
Fix this error when CONFIG_PM is not enabled:
drivers/usb/host/xhci.c:675: error: implicit declaration of function 'usb_root_hub_lost_power'
Wrap xhci_suspend() and xhci_resume() into an ifdef CONFIG_PM, along with
the functions that only they call -- xhci_save_registers() and
xhci_restore_registers().
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Sarah Sharp <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions