power: move z_pm_save_idle_exit prototype to power.h

Maintain power prototypes in power.h instead of kernel and arch headers.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-09-04 10:47:50 -04:00
commit c10d4b377d
5 changed files with 5 additions and 8 deletions

View file

@ -4939,8 +4939,6 @@ static inline void k_cpu_atomic_idle(unsigned int key)
/**
* @internal
*/
extern void z_pm_save_idle_exit(int32_t ticks);
#ifdef ARCH_EXCEPT
/* This architecture has direct support for triggering a CPU exception */
#define z_except_reason(reason) ARCH_EXCEPT(reason)