From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Iremonger Subject: [RFC PATCH 05/18] cxgbe: remove type field from rte_driver structure Date: Fri, 4 Sep 2015 12:01:41 +0100 Message-ID: <1441364514-24905-6-git-send-email-bernard.iremonger@intel.com> References: <1441364514-24905-1-git-send-email-bernard.iremonger@intel.com> To: dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id BC9C58D9E for ; Fri, 4 Sep 2015 13:02:04 +0200 (CEST) In-Reply-To: <1441364514-24905-1-git-send-email-bernard.iremonger@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Bernard Iremonger --- drivers/net/cxgbe/cxgbe_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index 478051a..5831ab7 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++ b/drivers/net/cxgbe/cxgbe_ethdev.c @@ -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, }; -- 1.9.1