soc: arm: microchip: Allow to support only light sleep
Make sure light sleep hook function is compile when needed This solves linking error for shippable test that only enable light sleep. Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
This commit is contained in:
parent
07489a1aa2
commit
3783c83b25
1 changed files with 2 additions and 0 deletions
|
@ -75,7 +75,9 @@ static void z_power_soc_deep_sleep(void)
|
|||
soc_deep_sleep_periph_restore();
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_POWER_SLEEP_STATES
|
||||
|
||||
/*
|
||||
* Light Sleep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue