aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-08-20 11:35:37 +0200
committerGreg Kroah-Hartman <[email protected]>2018-09-14 15:36:20 +0200
commit2e6ae11dd0d1c37f44cec51a58fb2092e55ed0f5 (patch)
tree018c338dbbdc55083aa8a0e089685ad3aeb48963 /tools/perf/scripts/python
parentbfb8e83847931ac854810dfa37f7cbd56bcc2f1f (diff)
slimbus: ngd: mark PM functions as __maybe_unused
qcom_slim_ngd_runtime_suspend is protected by an #ifdef, qcom_slim_ngd_runtime_idle is now, which causes a build time warning: drivers/slimbus/qcom-ngd-ctrl.c:1470:12: error: 'qcom_slim_ngd_runtime_idle' defined but not used [-Werror=unused-function] Marking both as __maybe_unused lets us get rid of the warning as well as the #ifdef. Fixes: 917809e2280b ("slimbus: ngd: Add qcom SLIMBus NGD driver") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions