diff options
author | Tobias Klauser <[email protected]> | 2014-07-08 15:18:07 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2014-07-18 10:18:55 -0700 |
commit | 2e58cdcc22148d89ccea8f900280736e5f585c07 (patch) | |
tree | c6832b1b99f77e7183c7a5642661800742799240 /tools/perf/scripts/python/check-perf-trace.py | |
parent | e76aed9da7189eeb41b9856552ce5721181e8e8d (diff) |
Input: st-keyscan - fix 'defined but not used' compiler warnings
Add #ifdef CONFIG_PM_SLEEP around keyscan_supend() and keyscan_resume() to
fix the following compiler warnings occuring if CONFIG_PM_SLEEP is unset:
+ /scratch/kisskb/src/drivers/input/keyboard/st-keyscan.c: warning: 'keyscan_resume' defined but not used [-Wunused-function]: => 235:12
+ /scratch/kisskb/src/drivers/input/keyboard/st-keyscan.c: warning: 'keyscan_suspend' defined but not used [-Wunused-function]: => 218:12
Reported-by: Geert Uytterhoeven <[email protected]>
Link: https://lkml.org/lkml/2014/7/8/109
Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions