pci: replace devinit/devuninit with probe/remove
[dpdk.git] / lib / librte_cryptodev / rte_cryptodev.c
index fc4123b..ea75562 100644 (file)
@@ -59,7 +59,6 @@
 #include <rte_atomic.h>
 #include <rte_branch_prediction.h>
 #include <rte_common.h>
-#include <rte_ring.h>
 #include <rte_mempool.h>
 #include <rte_malloc.h>
 #include <rte_mbuf.h>
@@ -548,8 +547,8 @@ rte_cryptodev_pmd_driver_register(struct rte_cryptodev_driver *cryptodrv,
         * Register PCI driver for physical device intialisation during
         * PCI probing
         */
-       cryptodrv->pci_drv.devinit = rte_cryptodev_init;
-       cryptodrv->pci_drv.devuninit = rte_cryptodev_uninit;
+       cryptodrv->pci_drv.probe = rte_cryptodev_init;
+       cryptodrv->pci_drv.remove = rte_cryptodev_uninit;
 
        rte_eal_pci_register(&cryptodrv->pci_drv);