From: Mike Yuan Date: Sun, 24 Sep 2023 10:28:54 +0000 (+0800) Subject: sleep-config: add explanatory comment on "modes" X-Git-Tag: v255-rc1~407^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F29265%2Fhead;p=thirdparty%2Fsystemd.git sleep-config: add explanatory comment on "modes" --- diff --git a/src/shared/sleep-config.h b/src/shared/sleep-config.h index 45917d8b4f0..467502a7da6 100644 --- a/src/shared/sleep-config.h +++ b/src/shared/sleep-config.h @@ -24,8 +24,9 @@ SleepOperation sleep_operation_from_string(const char *s) _pure_; typedef struct SleepConfig { bool allow[_SLEEP_OPERATION_MAX]; - char **modes[_SLEEP_OPERATION_CONFIG_MAX]; + char **states[_SLEEP_OPERATION_CONFIG_MAX]; + char **modes[_SLEEP_OPERATION_CONFIG_MAX]; /* Power mode after writing hibernation image */ usec_t hibernate_delay_usec; usec_t suspend_estimation_usec;