summaryrefslogtreecommitdiff
path: root/include/device_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/device_event.h')
-rw-r--r--include/device_event.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/device_event.h b/include/device_event.h
index debec00d52..7a6403e51d 100644
--- a/include/device_event.h
+++ b/include/device_event.h
@@ -43,4 +43,11 @@ static inline void device_set_single_event(int event)
device_set_events(EC_DEVICE_EVENT_MASK(event));
}
+/**
+ * Enable device event.
+ *
+ * @param event Event to enable (EC_DEVICE_EVENT_*)
+ */
+void device_enable_event(enum ec_device_event event);
+
#endif /* __CROS_EC_DEVICE_EVENT_H */