Skip to content

Commit 4cc018b

Browse files
gmarullcarlescufi
authored andcommitted
pm: policy: header cleanup
Include just the necessary headers. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent a269654 commit 4cc018b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

include/pm/policy.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#ifndef ZEPHYR_INCLUDE_PM_POLICY_H_
88
#define ZEPHYR_INCLUDE_PM_POLICY_H_
99

10+
#include <stdint.h>
1011
#include <pm/state.h>
1112

1213
#ifdef __cplusplus

subsys/pm/policy/residency.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
*/
66

77
#include <devicetree.h>
8-
#include <zephyr.h>
9-
#include <kernel.h>
108
#include <pm/pm.h>
119
#include <pm/policy.h>
10+
#include <sys_clock.h>
1211
#include <sys/check.h>
12+
#include <sys/time_units.h>
13+
#include <sys/util.h>
1314

1415
#include <logging/log.h>
1516
LOG_MODULE_DECLARE(pm, CONFIG_PM_LOG_LEVEL);

0 commit comments

Comments
 (0)