aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2014-03-04 20:07:25 -0800
committerJack Pham <jackp@codeaurora.org>2014-03-04 20:35:23 -0800
commit333cc04db8d1b12c18ad7f6510f28b730a312bb8 (patch)
tree52d53a1c5b2ae6f313bb362c3d96ae2102ad2670 /scripts/gcc-wrapper.py
parent678b8ed6ebc01a751bd59d3f316d80c1187a0082 (diff)
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: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions