mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
5d6a312e8f
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:
|
||
---|---|---|
.. | ||
chromeos_laptop.c | ||
chromeos_pstore.c | ||
cros_ec_debugfs.c | ||
cros_ec_debugfs.h | ||
cros_ec_dev.c | ||
cros_ec_dev.h | ||
cros_ec_lightbar.c | ||
cros_ec_lpc_mec.c | ||
cros_ec_lpc_reg.c | ||
cros_ec_lpc.c | ||
cros_ec_proto.c | ||
cros_ec_sysfs.c | ||
cros_ec_vbc.c | ||
cros_kbd_led_backlight.c | ||
Kconfig | ||
Makefile |