|
@@ -177,13 +177,11 @@ extern const char *const pm_states[];
|
|
|
|
|
|
extern bool valid_state(suspend_state_t state);
|
|
extern bool valid_state(suspend_state_t state);
|
|
extern int suspend_devices_and_enter(suspend_state_t state);
|
|
extern int suspend_devices_and_enter(suspend_state_t state);
|
|
-extern int enter_state(suspend_state_t state);
|
|
|
|
#else /* !CONFIG_SUSPEND */
|
|
#else /* !CONFIG_SUSPEND */
|
|
static inline int suspend_devices_and_enter(suspend_state_t state)
|
|
static inline int suspend_devices_and_enter(suspend_state_t state)
|
|
{
|
|
{
|
|
return -ENOSYS;
|
|
return -ENOSYS;
|
|
}
|
|
}
|
|
-static inline int enter_state(suspend_state_t state) { return -ENOSYS; }
|
|
|
|
static inline bool valid_state(suspend_state_t state) { return false; }
|
|
static inline bool valid_state(suspend_state_t state) { return false; }
|
|
#endif /* !CONFIG_SUSPEND */
|
|
#endif /* !CONFIG_SUSPEND */
|
|
|
|
|