diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-27 17:36:36 +0200 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2017-06-27 09:27:43 -0700 |
commit | 5d6a312e8f99f0a0bf793256c203fa17c97a15e1 (patch) | |
tree | 427bd1c7510d5715b5569296ade3ba4c7e06cc26 /MAINTAINERS | |
parent | 29d99b966d60029a11d08b9b004cd84b21ce0d67 (diff) |
platform/chrome: cros_ec_lightbar - hide unused PM functions
The only reference to the new functions is inside of an #ifdef,
which now causes a harmless warning when CONFIG_PM_SLEEP is not set:
chrome/cros_ec_dev.c:478:12: error: 'ec_device_resume' defined but not used [-Werror=unused-function]
chrome/cros_ec_dev.c:469:12: error: 'ec_device_suspend' defined but not used [-Werror=unused-function]
This marks the two functions as __maybe_unused so they can get
silently dropped by the compiler.
Fixes: 405c84308c43 ("platform/chrome: cros_ec_lightbar - Control of suspend/resume lightbar sequence")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions