[dpdk-dev,RFC,05/18] cxgbe: remove type field from rte_driver structure
Commit Message
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
drivers/net/cxgbe/cxgbe_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -2,6 +2,7 @@
* BSD LICENSE
*
* Copyright(c) 2014-2015 Chelsio Communications.
+ * Copyright(c) 2015 Intel Corporation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -794,8 +795,7 @@ static int rte_cxgbe_pmd_init(const char *name __rte_unused,
}
static struct rte_driver rte_cxgbe_driver = {
- .name = "cxgbe_driver",
- .type = PMD_PDEV,
+ .name = "cxgbe_driver", /* PCI device */
.init = rte_cxgbe_pmd_init,
};