From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <david.marchand@6wind.com>
Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44])
 by dpdk.org (Postfix) with ESMTP id 5333637B2
 for <dev@dpdk.org>; Wed, 20 Apr 2016 13:44:27 +0200 (CEST)
Received: by mail-wm0-f44.google.com with SMTP id u206so76778038wme.1
 for <dev@dpdk.org>; Wed, 20 Apr 2016 04:44:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:in-reply-to:references;
 bh=RRpcfoBf9u2JR9IEjIGcjae4UDC7itFF9Ckl0/h6szg=;
 b=lTLpFSyM+m55WLYnDdIHgkyXiXdmBszO9aQ7yRrrQWcnjn7JnnQBPdiCbbF6dtFw/R
 NUiy9VZtv2kWWQW89cPewgmijfETqb/UAdIBeC9PG9oqS8fLCvsK/lWGUMVcwvwyD6gG
 iQHLb9gI0ELTgmJ1n58YO3M8ddpaehOXFZzUAG024lHZtDc51G7dnTL9LX1eP+0Kyj5P
 DGCA/VnyV6t90xKpPuRNNXjYFJilV+YLk/S+pEyVADnP/sOeQfqD9QIT2GpxsqL3qMYa
 KCIqPC0Xwiu3w2tgmN7zgIJedBrEPD6J+UOm5JZzZD95PWW9pdZ4/Wn/4+ZJG68lG7MD
 vJsA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references;
 bh=RRpcfoBf9u2JR9IEjIGcjae4UDC7itFF9Ckl0/h6szg=;
 b=BseJ4vcM1bmEDH/hwY09MVnrenXoqXuTRx6lxsKKhdugFDsWEBrA4gex92cD+/meQn
 OMnAagELqiyn+kSfTHajla4O8lcykAEtMoJPMz3byX/87Ma1tRxyt6tzD4GcxeNMUGFq
 bdsLRXOuKTcTYYCtTo4E3Q78tc20/BeYUAa1LQdsPgnqZmBi7Z81rUXBOQHKmFB5A0Rk
 aekYOtBGLkNMNSqNayiL7WVIGxXVdvW70r4v31yfPgIifMoXKZDU17p/Lr2iHTGOWB+P
 UbPPM+1ACuXa/UUUNyA3L5DzY5TfDUunhkRRdSVRuZ9Cj+GR2qkJwrEJcJDDWbx0GtJX
 89qA==
X-Gm-Message-State: AOPr4FXpM9KKcFD2JZGXF7Y+g/QCg6rQK03hSn453CFOPsiBila284NfyYp1Ybq/b2SOsmC+
X-Received: by 10.194.192.106 with SMTP id hf10mr8118985wjc.134.1461152667200; 
 Wed, 20 Apr 2016 04:44:27 -0700 (PDT)
Received: from gloops.dev.6wind.com (144.77.126.78.rev.sfr.net.
 [78.126.77.144])
 by smtp.gmail.com with ESMTPSA id m6sm5195708wje.21.2016.04.20.04.44.26
 (version=TLSv1/SSLv3 cipher=OTHER);
 Wed, 20 Apr 2016 04:44:26 -0700 (PDT)
From: David Marchand <david.marchand@6wind.com>
To: dev@dpdk.org
Cc: thomas.monjalon@6wind.com,
	viktorin@rehivetech.com
Date: Wed, 20 Apr 2016 13:44:04 +0200
Message-Id: <1461152657-19969-5-git-send-email-david.marchand@6wind.com>
X-Mailer: git-send-email 1.9.1
In-Reply-To: <1461152657-19969-1-git-send-email-david.marchand@6wind.com>
References: <1454076516-21591-1-git-send-email-david.marchand@6wind.com>
 <1461152657-19969-1-git-send-email-david.marchand@6wind.com>
Subject: [dpdk-dev] [PATCH v2 04/17] eal: remove duplicate function
	declaration
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2016 11:44:27 -0000

rte_eal_dev_init is declared in both eal_private.h and rte_dev.h since its
introduction.
This function has been exported in ABI, so remove it from eal_private.h

Fixes: e57f20e05177 ("eal: make vdev init path generic for both virtual and pci devices")
Signed-off-by: David Marchand <david.marchand@6wind.com>
---
 lib/librte_eal/common/eal_private.h | 7 -------
 lib/librte_eal/linuxapp/eal/eal.c   | 1 +
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h
index 2342fa1..855fd25 100644
--- a/lib/librte_eal/common/eal_private.h
+++ b/lib/librte_eal/common/eal_private.h
@@ -262,13 +262,6 @@ int rte_eal_intr_init(void);
 int rte_eal_alarm_init(void);
 
 /**
- * This function initialises any virtual devices
- *
- * This function is private to the EAL.
- */
-int rte_eal_dev_init(void);
-
-/**
  * Function is to check if the kernel module(like, vfio, vfio_iommu_type1,
  * etc.) loaded.
  *
diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c
index 8aafd51..f26f8d3 100644
--- a/lib/librte_eal/linuxapp/eal/eal.c
+++ b/lib/librte_eal/linuxapp/eal/eal.c
@@ -70,6 +70,7 @@
 #include <rte_cpuflags.h>
 #include <rte_interrupts.h>
 #include <rte_pci.h>
+#include <rte_dev.h>
 #include <rte_devargs.h>
 #include <rte_common.h>
 #include <rte_version.h>
-- 
1.9.1