soc: mec1501: fix build failure
When CONFIG_SYS_POWER_DEEP_SLEEP_STATES is not set, we have an unused function that causes a build failure. Enclose that function in the #ifdef. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fdb936adae
commit
3765e46a40
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,6 @@ static void z_power_soc_deep_sleep(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Light Sleep
|
* Light Sleep
|
||||||
|
@ -97,6 +96,7 @@ static void z_power_soc_sleep(void)
|
||||||
__NOP();
|
__NOP();
|
||||||
__NOP();
|
__NOP();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Called from _sys_suspend(s32_t ticks) in subsys/power.c
|
* Called from _sys_suspend(s32_t ticks) in subsys/power.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue