2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00
linux-next/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
..
chromeos_laptop.c Revert "platform/chrome: chromeos_laptop: Add Leon Touch" 2016-05-28 08:47:48 -07:00
chromeos_pstore.c platform/chrome: pstore: Move to larger record size. 2016-05-11 11:55:47 -07:00
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_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_lpc.c cros_ec: Don't signal wake event for non-wake host events 2017-06-27 09:19:15 -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 mfd: cros_ec: Support multiple EC in a system 2015-06-15 13:18:23 +01:00
cros_ec_vbc.c platform/chrome: Support reading/writing the vboot context 2015-10-07 15:05:53 -07:00
cros_kbd_led_backlight.c platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -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