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:
Takumi Ando 2019-02-13 16:06:03 +09:00 committed by Carles Cufí
commit 3af63b5d1d

View file

@ -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