diff options
author | 2016-05-19 09:14:53 -0700 | |
---|---|---|
committer | 2016-05-19 09:35:15 -0700 | |
commit | c32feb03aefa8c5aada929ad10fd8aa569ef45cd (patch) | |
tree | 6e992a504a3ce68a1405cca1cfc35ea70562439a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Input: atmel_captouch - add dependence on i2c (diff) | |
download | linux-dev-c32feb03aefa8c5aada929ad10fd8aa569ef45cd.tar.xz linux-dev-c32feb03aefa8c5aada929ad10fd8aa569ef45cd.zip |
Input: migor-ts - mark PM functions as __maybe_unused
The migor touchscreen driver is now available for COMPILE_TEST,
so we run into a harmless randconfig warning on ARM when CONFIG_PM
is disabled:
drivers/input/touchscreen/migor_ts.c:216:12: error: 'migor_ts_resume' defined but not used [-Werror=unused-function]
drivers/input/touchscreen/migor_ts.c:205:12: error: 'migor_ts_suspend' defined but not used [-Werror=unused-function]
This shuts up the warning by marking the two functions as __maybe_unused.
We could do the same thing by adding an #ifdef, but this version is
more reliable.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions