From patchwork Wed Jan 9 17:53:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 1953901 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id BC98AE007B for ; Wed, 9 Jan 2013 18:00:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758057Ab3AISA4 (ORCPT ); Wed, 9 Jan 2013 13:00:56 -0500 Received: from mail-ee0-f74.google.com ([74.125.83.74]:38596 "EHLO mail-ee0-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758044Ab3AISAz (ORCPT ); Wed, 9 Jan 2013 13:00:55 -0500 Received: by mail-ee0-f74.google.com with SMTP id t10so134104eei.1 for ; Wed, 09 Jan 2013 10:00:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=wydkBLvjxGQIbmI9HdkBZ8yGe4W1IV2yqa41mtYgmZ4=; b=kSf2jbNYnnyY82wb9lDRsS+bo3lI9E9RkQoeFlaaS35AY718jcaDwgQ/nBgG6K6FgB xIRSHejGO8Y0bVoGDXI13GsTwF0GiKNghrJ/cQm6h0OqNnnVWq88Km5mzv4VNOuP220D I6rk+CBhAe96pB08fdn19ZlKyyXSgnFvGrcwZgNBHNQ0lBW0Il7k9manVbGg8ztkahtx 7dds+505nH8vkYHCU56jIeUxR080e8FQn4kwUopM6u4l4xeUOCb4qFFodL+rn7oz313J BOxrTy8YU9pybIcsRGspWID09KEA0EXjoP/L7hNdCZKSZOw0VWUMcWQW24k3FyeoZbEf L/Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=wydkBLvjxGQIbmI9HdkBZ8yGe4W1IV2yqa41mtYgmZ4=; b=deLymsurNKhWzO4Q3eEZvLF3gE0jIS4777dra5jAkMD2ix7G2GnfG+mlgoosHbG6fH xhCUYLSiMzDRpRc5P5MimcvjaNzJqCOC1mvBUoMsH/ERerhJjf+1SnoaImiYabVFiJDy qZ8MCqeOpK8xv2mVM2j9wRIMUDN1gfGcHnBjA2kv3gnX/5WIKI8Wpo2zOiVWZOKcuabI gpl9V29RUQmw/PBtdWwlgd0bB+9hKtj2bPMusPJmGHdwaiDvOKboPHuKoorOxisW+Ftt hBM3hja1CBvLvZZ3rwkwMxh7g8R+cy8KmUJ1pG6cJBB6YqTfXZrXNIexT4yJdFRyaMHd LoEg== X-Received: by 10.14.208.198 with SMTP id q46mr86185864eeo.0.1357753997278; Wed, 09 Jan 2013 09:53:17 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id z44si26134653een.0.2013.01.09.09.53.17 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 09 Jan 2013 09:53:17 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.17.131.112]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id C8009200057; Wed, 9 Jan 2013 09:53:16 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id 311A7180190; Wed, 9 Jan 2013 09:53:16 -0800 (PST) Subject: [PATCH 5/5] PCI: Drop "__" prefix on __pci_enable_device_flags() To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: David Howells , Koichi Yasutake , x86@kernel.org Date: Wed, 09 Jan 2013 10:53:16 -0700 Message-ID: <20130109175316.13904.1821.stgit@bhelgaas.mtv.corp.google.com> In-Reply-To: <20130109175151.13904.84252.stgit@bhelgaas.mtv.corp.google.com> References: <20130109175151.13904.84252.stgit@bhelgaas.mtv.corp.google.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnUfp3mWeBJZ657vDlXmfOVcZhJNEX4B7qfm/aWQnBSWEImxjr2RVQsVBzMrMATJBHzTm6hWww6XlZeyv8lnFSaI7QDgoPVweoCQs0S+JjFlWYnqMmu7Qz+ETcHJNpACg+ql5YfCumCkIRjAgXAFTfzEMLBTzlMnSQwzZ/WidlcMZShOsIjA0O7Upgz+yNbYm4kbi8wtjw9SZXLWjaQfeCCacvnyQ== Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Drop the useless "__" prefix on __pci_enable_device_flags(). Signed-off-by: Bjorn Helgaas --- drivers/pci/pci.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index d574fbd..a2f30394 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1156,8 +1156,7 @@ int pci_reenable_device(struct pci_dev *dev) return 0; } -static int __pci_enable_device_flags(struct pci_dev *dev, - unsigned long flags) +static int pci_enable_device_flags(struct pci_dev *dev, unsigned long flags) { int err; int i, bars = 0; @@ -1201,7 +1200,7 @@ static int __pci_enable_device_flags(struct pci_dev *dev, */ int pci_enable_device_io(struct pci_dev *dev) { - return __pci_enable_device_flags(dev, IORESOURCE_IO); + return pci_enable_device_flags(dev, IORESOURCE_IO); } /** @@ -1214,7 +1213,7 @@ int pci_enable_device_io(struct pci_dev *dev) */ int pci_enable_device_mem(struct pci_dev *dev) { - return __pci_enable_device_flags(dev, IORESOURCE_MEM); + return pci_enable_device_flags(dev, IORESOURCE_MEM); } /** @@ -1230,7 +1229,7 @@ int pci_enable_device_mem(struct pci_dev *dev) */ int pci_enable_device(struct pci_dev *dev) { - return __pci_enable_device_flags(dev, IORESOURCE_MEM | IORESOURCE_IO); + return pci_enable_device_flags(dev, IORESOURCE_MEM | IORESOURCE_IO); } /*