event: fix static events for CONFIG_NEEDS_MANUAL_RELOC
[platform/kernel/u-boot.git] / include / event.h
index 7765f07..c00c4fb 100644 (file)
@@ -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