Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 333cc04d authored by Jack Pham's avatar Jack Pham
Browse files

usb: dwc3-msm: Fix compile error when CONFIG_PM_* undefined



The SET_SYSTEM_SLEEP_PM_OPS and SET_RUNTIME_PM_OPS macros only
assign the PM functions if CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME,
respectively, are defined. Otherwise the compiler warns about
unreferenced functions. Wrap the function definitions with the
appropriate #ifdefs.

Change-Id: I79f3d3b8615de435d1f3bbcc2925ce6b67fb1239
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 678b8ed6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment