qcacmn: Add new WMI API to unregister event handler
Add new API to unregister event handler to allow
converged components to move to common eventid space.
Change-Id: I97f096ff3e36bc7923718498c535fb6c3c50e7e7
CRs-Fixed: 2023157
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index ca7fd63..e080005 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -221,6 +221,17 @@
uint8_t rx_ctx);
/**
+ * WMI event handler unregister function for converged componets
+ *
+ * @param wmi_handle : handle to WMI.
+ * @param event_id : WMI event ID
+ * @return 0 on success and -ve on failure.
+ */
+int
+wmi_unified_unregister_event(wmi_unified_t wmi_handle,
+ uint32_t event_id);
+
+/**
* WMI event handler unregister function
*
* @param wmi_handle : handle to WMI.