diff options
author | Arnd Bergmann <[email protected]> | 2017-01-10 16:28:47 +0100 |
---|---|---|
committer | Andy Shevchenko <[email protected]> | 2017-01-21 01:43:42 +0200 |
commit | 44e6861646748a21b55725adc0780342f4440066 (patch) | |
tree | 0d191d71c73eb107cb64922b10dfc28d613a2fff /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 63d762b88cb5510f2bfdb5112ced18cde867ae61 (diff) |
platform/x86: surface3-wmi: Shut up unused-function warning
The newly added driver guards its "resume" callback with an
warning in some configurations:
drivers/platform/x86/surface3-wmi.c:248:12: error: 's3_wmi_resume' defined but not used [-Werror=unused-function]
Using a __maybe_unused annotation without an #ifdef avoids the mistake more
reliably.
Fixes: 3dda3b3798f9 ("platform/x86: Add custom surface3 platform device for controlling LID")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Darren Hart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions