summaryrefslogtreecommitdiff
path: root/include/chipset.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/chipset.h')
-rw-r--r--include/chipset.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/chipset.h b/include/chipset.h
index ddf4eb3db0..728a6be4a4 100644
--- a/include/chipset.h
+++ b/include/chipset.h
@@ -75,6 +75,11 @@ void chipset_force_shutdown(void);
*/
void chipset_reset(int cold_reset);
+/**
+ * Interrupt handler for power GPIO inputs.
+ */
+void power_interrupt(enum gpio_signal signal);
+
#else /* !HAS_TASK_CHIPSET */
/*
* Allow other modules to compile if the chipset module is disabled. This is
@@ -91,6 +96,8 @@ static inline void chipset_throttle_cpu(int throttle) { }
static inline void chipset_force_shutdown(void) { }
static inline void chipset_reset(int cold_reset) { }
+#define power_interrupt NULL
+
#endif /* !HAS_TASK_CHIPSET */
#endif /* __CROS_EC_CHIPSET_H */