Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com> --- drivers/net/bnx2x/bnx2x_ethdev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c index 09b5920..b25ca21 100644 --- a/drivers/net/bnx2x/bnx2x_ethdev.c +++ b/drivers/net/bnx2x/bnx2x_ethdev.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2013-2015 Brocade Communications Systems, Inc. + * Copyright(c) 2015 Intel Corporation. * * All rights reserved. */ @@ -529,12 +530,12 @@ static int rte_bnx2xvf_pmd_init(const char *name __rte_unused, const char *param } static struct rte_driver rte_bnx2x_driver = { - .type = PMD_PDEV, + .name = "rte_bnx2x_driver", /* PCI device */ .init = rte_bnx2x_pmd_init, }; static struct rte_driver rte_bnx2xvf_driver = { - .type = PMD_PDEV, + .name = "rte_bnx2xvf_driver", /* PCI device */ .init = rte_bnx2xvf_pmd_init, }; -- 1.9.1