soc: arm: nrf52: Fix CONFIG_SYS_POWER_MANAGEMENT exclusion
We don't need these defines when we set CONFIG_SYS_POWER_MANAGEMENT=n. Signed-off-by: Takumi Ando <takumi.ando@atmark-techno.com>
This commit is contained in:
parent
054e1bec2d
commit
3af63b5d1d
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_POWER_MANAGEMENT
|
||||
|
||||
/*
|
||||
* Power state map:
|
||||
* SYS_POWER_STATE_DEEP_SLEEP: System OFF
|
||||
|
@ -29,6 +31,8 @@ void sys_set_power_state(enum power_states state);
|
|||
*/
|
||||
void sys_power_state_post_ops(enum power_states state);
|
||||
|
||||
#endif /* CONFIG_SYS_POWER_MANAGEMENT */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue