From: Youngjae Cho Date: Fri, 18 Aug 2023 02:20:01 +0000 (+0900) Subject: power: Fix missing trans_info replacement X-Git-Tag: accepted/tizen/unified/20230821.162310~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F297396%2F1;p=platform%2Fcore%2Fsystem%2Fdeviced.git power: Fix missing trans_info replacement Change-Id: Idc0def7e9893db7b18bcf9da6fd628ada80e87ef Signed-off-by: Youngjae Cho --- diff --git a/src/power/power.c b/src/power/power.c index 94a05c2..417777f 100644 --- a/src/power/power.c +++ b/src/power/power.c @@ -711,7 +711,8 @@ static void prepare_transition(const struct syscommon_plugin_deviced_power_trans static gint find_ti_by_state(gconstpointer data, gconstpointer udata) { - const struct syscommon_plugin_deviced_power_trans_info *ti = (const struct trans_info *) data; + const struct syscommon_plugin_deviced_power_trans_info *ti = + (const struct syscommon_plugin_deviced_power_trans_info *) data; const uint64_t state = *(const uint64_t *) udata; if (ti->curr & state)