diff options
| author | Xu Yang <[email protected]> | 2022-10-26 20:11:57 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-11-09 12:37:44 +0100 |
| commit | dced88922c1179dfa2664690318d4cba57ebffb5 (patch) | |
| tree | cc1c6d6fa17d885100a18c8dd7f3bc98aad631e1 /tools/perf/scripts/python/libxed.py | |
| parent | 77ece8123fed2bef451ef31a34b8327849375d26 (diff) | |
usb: chipidea: core: wrap ci_handle_power_lost() with CONFIG_PM_SLEEP
If CONFIG_PM_SLEEP is not set, the following error will be shown up
when build kernel:
error: 'ci_handle_power_lost' defined but not used.
This will move ci_handle_power_lost() to an area wrapped by
CONFIG_PM_SLEEP.
Signed-off-by: Xu Yang <[email protected]>
Fixes: 74494b33211d ("usb: chipidea: core: add controller resume support when controller is powered off")
Reported-by: Conor Dooley <[email protected]>
Tested-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions