eal: hide internal hotplug function
[dpdk.git] / lib / librte_eal / linux / eal / eal.c
index aa0137e..8a0b387 100644 (file)
@@ -59,6 +59,7 @@
 #include "eal_hugepages.h"
 #include "eal_options.h"
 #include "eal_vfio.h"
+#include "hotplug_mp.h"
 
 #define MEMSIZE_IF_NO_HUGE_PAGE (64ULL * 1024ULL * 1024ULL)
 
@@ -1062,7 +1063,7 @@ rte_eal_init(int argc, char **argv)
        }
 
        /* register multi-process action callbacks for hotplug */
-       if (rte_mp_dev_hotplug_init() < 0) {
+       if (eal_mp_dev_hotplug_init() < 0) {
                rte_eal_init_alert("failed to register mp callback for hotplug");
                return -1;
        }