From patchwork Sat Apr 19 00:13:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Desfosses X-Patchwork-Id: 4019131 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 28135BFF02 for ; Sat, 19 Apr 2014 00:18:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC5AB20375 for ; Sat, 19 Apr 2014 00:18:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D48422021A for ; Sat, 19 Apr 2014 00:18:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754574AbaDSAPY (ORCPT ); Fri, 18 Apr 2014 20:15:24 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60787 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754589AbaDSAOh (ORCPT ); Fri, 18 Apr 2014 20:14:37 -0400 Received: from mfilter26-d.gandi.net (mfilter26-d.gandi.net [217.70.178.154]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id D1A8317208B; Sat, 19 Apr 2014 02:14:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter26-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter26-d.gandi.net (mfilter26-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Z1+N01h7Bss9; Sat, 19 Apr 2014 02:14:35 +0200 (CEST) X-Originating-IP: 76.119.93.133 Received: from localhost.localdomain (c-76-119-93-133.hsd1.ct.comcast.net [76.119.93.133]) (Authenticated sender: ryan@desfo.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 922B4172091; Sat, 19 Apr 2014 02:14:33 +0200 (CEST) From: Ryan Desfosses To: bhelgaas@google.com Cc: trivial@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Ryan Desfosses Subject: [PATCH 3/8] htirq: moved EXPORT_SYMBOL so that it immediately followed its function/variable Date: Fri, 18 Apr 2014 20:13:48 -0400 Message-Id: <1397866433-21119-4-git-send-email-ryan@desfo.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1397866433-21119-1-git-send-email-ryan@desfo.org> References: <1397866433-21119-1-git-send-email-ryan@desfo.org> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP change made to resolve following checkpatch message: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable branch: Linux 3.15-rc1 Signed-off-by: Ryan Desfosses --- drivers/pci/htirq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci/htirq.c b/drivers/pci/htirq.c index 6e373ea..776c2ef 100644 --- a/drivers/pci/htirq.c +++ b/drivers/pci/htirq.c @@ -136,6 +136,7 @@ int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update) return irq; } +EXPORT_SYMBOL(__ht_create_irq); /** * ht_create_irq - create an irq and attach it to a device. @@ -151,6 +152,7 @@ int ht_create_irq(struct pci_dev *dev, int idx) { return __ht_create_irq(dev, idx, NULL); } +EXPORT_SYMBOL(ht_create_irq); /** * ht_destroy_irq - destroy an irq created with ht_create_irq @@ -170,7 +172,5 @@ void ht_destroy_irq(unsigned int irq) kfree(cfg); } - -EXPORT_SYMBOL(__ht_create_irq); -EXPORT_SYMBOL(ht_create_irq); EXPORT_SYMBOL(ht_destroy_irq); +