aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.c
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-iface-modem.c
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-iface-modem.c')
-rw-r--r--src/mm-iface-modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index bea7f077..69c1872b 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -4472,7 +4472,7 @@ mm_iface_modem_enable (MMIfaceModem *self,
/*****************************************************************************/
/* MODEM SYNCHRONIZATION */
-#if defined WITH_SYSTEMD_SUSPEND_RESUME
+#if defined WITH_SUSPEND_RESUME
typedef struct _SyncingContext SyncingContext;
static void interface_syncing_step (GTask *task);