Skip to content

Commit 30de4b5

Browse files
Flavio Ceolinnashif
authored andcommitted
power: Fix dummy policy states info
../../../../../include/power/power_state.h:280:41: warning: missing braces around initializer [-Wmissing-braces] 280 | #define PM_STATE_DT_ITEMS_LIST(node_id) { \ | ^ Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 131913c commit 30de4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/power/policy/policy_dummy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LOG_MODULE_DECLARE(power, CONFIG_PM_LOG_LEVEL);
1616
(struct pm_state_info){PM_STATE_ACTIVE, 0, 0}
1717

1818
static const struct pm_state_info pm_dummy_states[] =
19-
PM_STATE_DT_ITEMS_LIST(DT_NODELABEL(cpu0));
19+
PM_STATE_INFO_DT_ITEMS_LIST(DT_NODELABEL(cpu0));
2020

2121
struct pm_state_info pm_policy_next_state(int32_t ticks)
2222
{

0 commit comments

Comments
 (0)