common/mlx5: wrap memory allocation on Linux
[dpdk.git] / drivers / common / mlx5 / mlx5_common_pci.c
index 02417c6..5208972 100644 (file)
@@ -408,7 +408,7 @@ static struct rte_pci_id *mlx5_pci_id_table;
 
 static struct rte_pci_driver mlx5_pci_driver = {
        .driver = {
-               .name = "mlx5_pci",
+               .name = MLX5_DRIVER_NAME,
        },
        .probe = mlx5_common_pci_probe,
        .remove = mlx5_common_pci_remove,