aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-03-02 09:11:46 -0800
committerDmitry Torokhov <[email protected]>2016-03-02 09:40:04 -0800
commit2d1a792357bf5ef7022f3ba82ab8976609425f4b (patch)
treef0e271e7b5498d1af648538e0249c0c29b347622 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent7ffae9909bddb0367052133fe74ec5c9898c27b4 (diff)
Input: snvs_pwrkey - use __maybe_unused to hide pm functions
The SNVS power key driver has suspend/resume functions that are accessed using SIMPLE_DEV_PM_OPS, which hide the reference when CONFIG_PM_SLEEP is not set, resulting in a warning about unused functions: drivers/input/keyboard/snvs_pwrkey.c:183:12: error: 'imx_snvs_pwrkey_suspend' defined but not used [-Werror=unused-function] drivers/input/keyboard/snvs_pwrkey.c:194:12: error: 'imx_snvs_pwrkey_resume' defined but not used [-Werror=unused-function] This adds __maybe_unused annotations to let the compiler know it can silently drop the function definition. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Frank Li <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions