From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by dpdk.org (Postfix) with ESMTP id 46D0C4BFE for ; Wed, 20 Mar 2013 17:08:47 +0100 (CET) Received: by mail-ee0-f51.google.com with SMTP id d17so1124142eek.10 for ; Wed, 20 Mar 2013 09:07:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:x-gm-message-state; bh=/ThDvmujH4PMkd8PsVeipEH1oHxZ7CYuS913lengXuQ=; b=KKqQXGOxgptzUypF4ZwccJDJfJo4nzb2BZJgcaypHZJuyMjzGKIaZDNZQdDjBhomjp UX7Qgr0LytVtax6cjHhNaMuPcUXiyYg48hAs3B4VKia/K3n2cOxAknPYZs/L/CVjWhxc g0cTLq0N5s2WWlNcedG7kZU5TD4q+OyJSUqTM0vVEVUzCb1iwzwcMxIhhd3jDwGbOw5F hn5Svm642G2s+VMXYtr7T9iXyYljLBVWus5g5N34jm/q0EMhe87ambi62BvPabOkrW1D T8LJlzSZopK3hzPynXDBUUp+d6LnEqE13ciVAI9WcYsJAetfr2yppiCR3RRNBg4Xu7Qm CvzQ== X-Received: by 10.14.173.196 with SMTP id v44mr72666697eel.29.1363795668246; Wed, 20 Mar 2013 09:07:48 -0700 (PDT) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPS id d47sm3459781eem.9.2013.03.20.09.07.45 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 20 Mar 2013 09:07:47 -0700 (PDT) Received: by 6wind.com (sSMTP sendmail emulation); Wed, 20 Mar 2013 17:07:45 +0100 From: Thomas Monjalon To: dev@dpdk.org Date: Wed, 20 Mar 2013 17:05:10 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQkGIO6RElYl1T2ciGjbSmLn8T1GclYKum9mLa8kA+eNGehjLT6sRdTXirXr9zSaHZlErev5 Subject: [dpdk-dev] [PATCH 22/22] igb_uio: fix build with kernel >= 3.8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2013 16:08:47 -0000 From: Nicolas Dichtel __devinit has been removed in linux commit 54b956b903 ("Remove __dev* markings from init.h", 3.8-rc4). Acked-by: Ivan Boule Acked-by: Thomas Monjalon Signed-off-by: Nicolas Dichtel --- lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index 51733f6..4e54c46 100644 --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c @@ -255,7 +255,11 @@ igbuio_pci_release_iomem(struct uio_info *info) } } +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0) static int __devinit +#else +static int +#endif igbuio_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) { struct rte_uio_pci_dev *udev; -- 1.7.2.5