aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-modem.h
diff options
context:
space:
mode:
authorRukun Mao <rmao@google.com>2022-05-13 20:43:32 +0000
committerAleksander Morgado <aleksander@aleksander.es>2022-06-09 08:32:13 +0000
commit3da84c207902b65b7b6a2de9c497966844f87dd9 (patch)
tree17c915338e26082af27f82fc95bc394bb3911d8a /src/mm-base-modem.h
parentac06052b97cc02e60ae1ed7a551727b3c14d6a22 (diff)
suspend: add suspend/resume support with powerd on ChromeOS
ModemManager handles suspend and resume signals sent from powerd Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/547
Diffstat (limited to 'src/mm-base-modem.h')
-rw-r--r--src/mm-base-modem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-base-modem.h b/src/mm-base-modem.h
index 1b7a2219..24eba82b 100644
--- a/src/mm-base-modem.h
+++ b/src/mm-base-modem.h
@@ -109,7 +109,7 @@ struct _MMBaseModemClass {
GAsyncResult *res,
GError **error);
-#if defined WITH_SYSTEMD_SUSPEND_RESUME
+#if defined WITH_SUSPEND_RESUME
/* Modem synchronization.
* When resuming in quick suspend/resume mode,
* this method triggers a synchronization of all modem interfaces */
@@ -245,7 +245,7 @@ gboolean mm_base_modem_disable_finish (MMBaseModem *self,
GAsyncResult *res,
GError **error);
-#if defined WITH_SYSTEMD_SUSPEND_RESUME
+#if defined WITH_SUSPEND_RESUME
void mm_base_modem_sync (MMBaseModem *self,
GAsyncReadyCallback callback,