summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/event.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/event.h b/include/event.h
index 7765f072503..c00c4fb68dc 100644
--- a/include/event.h
+++ b/include/event.h
@@ -145,6 +145,16 @@ int event_register(const char *id, enum event_t type, event_handler_t func,
void event_show_spy_list(void);
/**
+ * event_manual_reloc() - Relocate event handler pointers
+ *
+ * Relocate event handler pointers for all static event spies. It is called
+ * during the generic board init sequence, after relocation.
+ *
+ * Return: 0 if OK
+ */
+int event_manual_reloc(void);
+
+/**
* event_notify() - notify spies about an event
*
* It is possible to pass in union event_data here but that may not be