From: Thomas Monjalon Date: Wed, 6 Jul 2016 21:14:20 +0000 (+0200) Subject: drivers: fix build with new register macro X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=54266acc6433ba5d3d90f3af4f7f5af5c8dfc288;p=dpdk.git drivers: fix build with new register macro Compilation fails because of some typos. Fixes: cb6696d22023 ("drivers: update registration macro usage") Signed-off-by: Thomas Monjalon Acked-by: Neil Horman Tested-by: Adrien Mazarguil --- diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c index db3e5624ae..859a04baae 100644 --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c @@ -721,6 +721,6 @@ static struct rte_driver cryptodev_aesni_mb_pmd_drv = { .uninit = cryptodev_aesni_mb_uninit }; -PMD_REGISTER_DRIVER(cryptodev_aesni_mb_pmd_drvi, aesni_mb); +PMD_REGISTER_DRIVER(cryptodev_aesni_mb_pmd_drv, aesni_mb); DRIVER_REGISTER_PARAM_STRING(aesni_gcm, "max_nb_queue_pairs= " "max_nb_sessions= socket_id="); diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index 8758eac97c..d9ffb13dd4 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -5861,5 +5861,5 @@ static struct rte_driver rte_mlx4_driver = { .init = rte_mlx4_pmd_init, }; -PMD_REGISTER_DRIVER(rte_mlx4_driveri, mlx4) +PMD_REGISTER_DRIVER(rte_mlx4_driver, mlx4); DRIVER_REGISTER_PCI_TABLE(mlx4, mlx4_pci_id_map); diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index 358e9b49c1..8d32252b1f 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -762,5 +762,5 @@ static struct rte_driver rte_mlx5_driver = { .init = rte_mlx5_pmd_init, }; -PMD_REGISTER_DRIVER(rte_mlx5_driveri, mlx5) +PMD_REGISTER_DRIVER(rte_mlx5_driver, mlx5); DRIVER_REGISTER_PCI_TABLE(mlx5, mlx5_pci_id_map);