diff options
| author | Colin Ian King <colin.king@canonical.com> | 2016-01-06 18:02:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-25 11:03:47 +0100 |
| commit | 6cd38c25bf3f345c0b5402a6a32f37318811613b (patch) | |
| tree | a4cb270c24d9f93da3a6c6b255124c6ec1375a4d /tools/perf/scripts/python/bin | |
| parent | a2f1d9b7030bd388347fa0b77383ab6e06a44c63 (diff) | |
tc1100-wmi: fix build warning when CONFIG_PM not enabled
commit 75d7e7d7a8f4966cb8b1da54a1c74fb2a97ae8fc upstream.
Conditionally declare suspend_data on CONFIG_PM to avoid
the following warning when CONFIG_OM is not enabled:
drivers/platform/x86/tc1100-wmi.c:55:27: warning:
'suspend_data' defined but not used [-Wunused-variable]
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
