From patchwork Tue Mar 28 15:29:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 9649993 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 76DCF601E9 for ; Tue, 28 Mar 2017 15:33:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A1A5282E8 for ; Tue, 28 Mar 2017 15:33:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5EDAA283A6; Tue, 28 Mar 2017 15:33:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2374282E8 for ; Tue, 28 Mar 2017 15:33:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751294AbdC1Pco (ORCPT ); Tue, 28 Mar 2017 11:32:44 -0400 Received: from mail1.bemta8.messagelabs.com ([216.82.243.208]:37330 "EHLO mail1.bemta8.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751386AbdC1Pcm (ORCPT ); Tue, 28 Mar 2017 11:32:42 -0400 Received: from [216.82.242.46] by server-16.bemta-8.messagelabs.com id 25/C7-11840-AB18AD85; Tue, 28 Mar 2017 15:31:06 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFIsWRWlGSWpSXmKPExsVy+LrFKt2djbc iDG790rF4dWYtm8XhhqVsFmfnHWezePP7BbsDi8eaeWsYPWbdP8vmsWlVJ5vH501yASxRrJl5 SfkVCawZe679YiuYzl6x+sJKpgbG1WxdjFwcQgLLGCXW7NrH3MXIycEmYCJx8/45li5GDg5hA VeJtXfzQEwRATWJrvZQkHJmgUZGiZ8LH7CAlPMKOEv8eDAPzGYRUJX4tmYTG4gtKpAgcfHPFF aIGkGJkzOfgNUwC+hLNG2dwwxhy0tsfwthCwloS7zfuBisXkJAQWLq5FbmCYy8s5C0z0LSPgt J+wJG5lWMGsWpRWWpRbqGZnpJRZnpGSW5iZk5uoYGFnq5qcXFiempOYlJxXrJ+bmbGIHhWM/A wLiDccJu90OMkhxMSqK8H4JuRQjxJeWnVGYkFmfEF5XmpBYfYpTh4FCS4N3TAJQTLEpNT61Iy 8wBRgZMWoKDR0mE9xxImre4IDG3ODMdInWKUZfjxvEDb5iEWPLy81KlxHkPgxQJgBRllObBjY BF6SVGWSlhXkYGBgYhnoLUotzMElT5V4ziHIxKwrzHQabwZOaVwG16BXQEE9AR4jZgR5QkIqS kGhgXmOTU/1I5wCS36USJ3/Z5Cz7/ucN81JDHovWCA6vm4/lz+3Z8CGnesH9Po0urrPDfaaGa VyutjY+sZSn/cLW170Vik9xqlfCNKetvBgUcsRQsWVJqv3LeBrWjSatfvatdzFzSfH+Kg4xYq EFS/9rKYEMDlbLstRckq/7pxW3tNhVy3yEdZKzEUpyRaKjFXFScCAAECwB3zQIAAA== X-Env-Sender: Marc_Gonzalez@sigmadesigns.com X-Msg-Ref: server-4.tower-96.messagelabs.com!1490715061!76657526!1 X-Originating-IP: [195.215.56.170] X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 28245 invoked from network); 28 Mar 2017 15:31:03 -0000 Received: from 195-215-56-170-static.dk.customer.tdc.net (HELO CPH-EX1.SDESIGNS.COM) (195.215.56.170) by server-4.tower-96.messagelabs.com with AES128-SHA encrypted SMTP; 28 Mar 2017 15:31:03 -0000 Received: from [172.27.0.114] (172.27.0.114) by CPH-EX1.sdesigns.com (192.168.10.36) with Microsoft SMTP Server (TLS) id 14.3.294.0; Tue, 28 Mar 2017 17:29:51 +0200 From: Marc Gonzalez Subject: [TRIVIAL PATCH] PCI: Change pci_host_common_probe visibility To: Bjorn Helgaas CC: linux-pci , Lorenzo Pieralisi , Jayachandran C Message-ID: <11bd9bd5-5d96-bd7c-24c7-5f262a46085c@sigmadesigns.com> Date: Tue, 28 Mar 2017 17:29:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 MIME-Version: 1.0 X-Originating-IP: [172.27.0.114] Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP pci_host_common_probe is defined when CONFIG_PCI_HOST_COMMON=y therefore the function declaration should match that. drivers/pci/host/pcie-tango.c:300:9: error: implicit declaration of function 'pci_host_common_probe' Signed-off-by: Marc Gonzalez --- include/linux/pci-ecam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/pci-ecam.h b/include/linux/pci-ecam.h index 33c4750781a0..e746803df566 100644 --- a/include/linux/pci-ecam.h +++ b/include/linux/pci-ecam.h @@ -60,7 +60,7 @@ void __iomem *pci_ecam_map_bus(struct pci_bus *bus, unsigned int devfn, /* default ECAM ops */ extern struct pci_ecam_ops pci_generic_ecam_ops; -#ifdef CONFIG_PCI_HOST_GENERIC +#ifdef CONFIG_PCI_HOST_COMMON /* for DT-based PCI controllers that support ECAM */ int pci_host_common_probe(struct platform_device *pdev, struct pci_ecam_ops *ops);