eal: hide internal hotplug function
[dpdk.git] / lib / librte_eal / common / hotplug_mp.h
index 597fde3..8fcf9b5 100644 (file)
@@ -28,6 +28,15 @@ struct eal_dev_mp_req {
        int result;
 };
 
+/**
+ * Register all mp action callbacks for hotplug.
+ *
+ * @return
+ *   0 on success, negative on error.
+ */
+int
+eal_mp_dev_hotplug_init(void);
+
 /**
  * This is a synchronous wrapper for secondary process send
  * request to primary process, this is invoked when an attach