From patchwork Mon Apr 22 23:12:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 2474931 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id DF03C3FD40 for ; Mon, 22 Apr 2013 23:12:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753894Ab3DVXML (ORCPT ); Mon, 22 Apr 2013 19:12:11 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:64187 "EHLO mail-ie0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753063Ab3DVXMK (ORCPT ); Mon, 22 Apr 2013 19:12:10 -0400 Received: by mail-ie0-f179.google.com with SMTP id 16so16143iea.10 for ; Mon, 22 Apr 2013 16:12:09 -0700 (PDT) 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=sPEYvu3E4j0GObKbahCer+ef+w8dV0f94HKKU1G7AvU=; b=kkqsLctsz5aqHh6rb0tcF3eFQlipz0PjY9Fo7WPQoJFbZ/RIK4MU0HL4pNANxRqYCf ic0UK7EiABBo3QPAnorAV9I5eghBX/R0Kcy3qUuN66AbWiy/XKxjTND7Da1yryT7sPSy fGJ8tUz0uTWVx3W2pmhGtbo6SWymLgZqrk0ZxVfsxVn/a53ed+e1uUHjSqG4QePa0q2P xom7UUhhcHoj1DuDOBiloS0hqBnULGixHo20Tv6fXmQgjLBz21HQvfnZ86jQk+xujCOm zZDoH1avNaGXbElKekPzsrVhPQQ4KSRh4jDIeyn3bKfAKK75vfaUt//vSyXnTPyy6Iu0 l1wQ== 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=sPEYvu3E4j0GObKbahCer+ef+w8dV0f94HKKU1G7AvU=; b=Uzg4E3kib69GN35sW87Fux9Pme58dZkynWzpMv7KZamSr8tljlbRrgyQxPMmmM6UcH l0asx2fVQIUkxkb2P5mkOJqLZMUrb3y7GL/xsXaRB67g/DN/iAp6VW/bXBoox+a/UfE5 w1MCkpDUwHA2aEjzh/vT7vHxXhYJKIJ6YzS82YRhzmMH/eVuEhY3B/aOwPtSSAUuNY0H g7t4M2+pjhKBVYrRSS6nNQ5LvhrOYfPSsY4zhueiofi52a/KMn9xrA8aIzikuIL9LJYP 5TbXgu60F66BLA8oM9i3pUFCqlXRCryFzNbmSqewo2N+yq53XaZ5NPDku4TYbQNMHtYh Z46g== X-Received: by 10.42.176.68 with SMTP id bd4mr13677343icb.4.1366672329839; Mon, 22 Apr 2013 16:12:09 -0700 (PDT) Received: from localhost ([172.29.120.215]) by mx.google.com with ESMTPS id fl5sm18029132igb.9.2013.04.22.16.12.09 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 22 Apr 2013 16:12:09 -0700 (PDT) Subject: [PATCH v4 17/22] PCI: Remove "extern" from function declarations To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: Gavin Shan Date: Mon, 22 Apr 2013 17:12:08 -0600 Message-ID: <20130422231208.32621.16719.stgit@bhelgaas-glaptop> In-Reply-To: <20130422230012.32621.15224.stgit@bhelgaas-glaptop> References: <20130422230012.32621.15224.stgit@bhelgaas-glaptop> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlRBPUQtz34ykzcTIqRYYmW25A75aaKklw3fdBnw410YlxTsEqznyGsyY+MdJMkKJOnGnKJd+0F3z7+O5vjyI2R3yELmE9QAnmL3DavevjsOhz+x/g1JE8C9D3bc5RattZ+9Dr3ol8J2qsa7No51siG/MRZ6yyBYkZrmyd4PI2ZuBVBwCaeTKV1aYPPhDQ64k+rba/3sX2t/52BdpkTupJQgCzZWMi4duoR8ZvzNkr0c1wz/Dg= Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org We had an inconsistent mix of using and omitting the "extern" keyword on function declarations in header files. This removes them all. Signed-off-by: Bjorn Helgaas --- include/linux/msi.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 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/include/linux/msi.h b/include/linux/msi.h index ce93a34..20c2d6d 100644 --- a/include/linux/msi.h +++ b/include/linux/msi.h @@ -13,14 +13,14 @@ struct msi_msg { /* Helper functions */ struct irq_data; struct msi_desc; -extern void mask_msi_irq(struct irq_data *data); -extern void unmask_msi_irq(struct irq_data *data); -extern void __read_msi_msg(struct msi_desc *entry, struct msi_msg *msg); -extern void __get_cached_msi_msg(struct msi_desc *entry, struct msi_msg *msg); -extern void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg); -extern void read_msi_msg(unsigned int irq, struct msi_msg *msg); -extern void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg); -extern void write_msi_msg(unsigned int irq, struct msi_msg *msg); +void mask_msi_irq(struct irq_data *data); +void unmask_msi_irq(struct irq_data *data); +void __read_msi_msg(struct msi_desc *entry, struct msi_msg *msg); +void __get_cached_msi_msg(struct msi_desc *entry, struct msi_msg *msg); +void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg); +void read_msi_msg(unsigned int irq, struct msi_msg *msg); +void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg); +void write_msi_msg(unsigned int irq, struct msi_msg *msg); struct msi_desc { struct { @@ -54,9 +54,8 @@ struct msi_desc { */ int arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc); void arch_teardown_msi_irq(unsigned int irq); -extern int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type); -extern void arch_teardown_msi_irqs(struct pci_dev *dev); -extern int arch_msi_check_device(struct pci_dev* dev, int nvec, int type); - +int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type); +void arch_teardown_msi_irqs(struct pci_dev *dev); +int arch_msi_check_device(struct pci_dev* dev, int nvec, int type); #endif /* LINUX_MSI_H */