original_kernel/drivers/platform/chrome
Arnd Bergmann 5d6a312e8f 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: 405c84308c ("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>
2017-06-27 09:27:43 -07:00
..
Kconfig platform/chrome: cros_ec_lpc: Add support for GOOG004 ACPI device 2017-06-23 16:12:15 -07:00
Makefile platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
chromeos_laptop.c
chromeos_pstore.c
cros_ec_debugfs.c mfd: cros_ec: Add support for dumping panic information 2017-06-16 13:57:45 -07:00
cros_ec_debugfs.h mfd: cros_ec: add debugfs, console log file 2017-06-16 13:57:45 -07:00
cros_ec_dev.c platform/chrome: cros_ec_lightbar - hide unused PM functions 2017-06-27 09:27:43 -07:00
cros_ec_dev.h platform/chrome: cros_ec_lightbar - Control of suspend/resume lightbar sequence 2017-06-23 16:12:18 -07:00
cros_ec_lightbar.c platform/chrome: cros_ec_lightbar - Avoid I2C xfer to EC during suspend 2017-06-23 16:12:19 -07:00
cros_ec_lpc.c cros_ec: Don't signal wake event for non-wake host events 2017-06-27 09:19:15 -07:00
cros_ec_lpc_mec.c platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
cros_ec_lpc_reg.c platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
cros_ec_proto.c cros_ec: Don't signal wake event for non-wake host events 2017-06-27 09:19:15 -07:00
cros_ec_sysfs.c
cros_ec_vbc.c
cros_kbd_led_backlight.c