diff options
Diffstat (limited to 'include/power.h')
-rw-r--r-- | include/power.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/power.h b/include/power.h index fd0c9af432..8801250951 100644 --- a/include/power.h +++ b/include/power.h @@ -167,7 +167,13 @@ void power_set_state(enum power_state new_state); * * @return Current chipset power state */ +#ifdef HAS_TASK_CHIPSET enum power_state power_get_state(void); +#else +static inline enum power_state power_get_state(void) { + return POWER_G3; +} +#endif /* * Set the wake mask according to the current power state. |