From patchwork Fri Mar 17 14:53:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 9630865 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 80C0E60245 for ; Fri, 17 Mar 2017 14:54:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7042228506 for ; Fri, 17 Mar 2017 14:54:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63526285A1; Fri, 17 Mar 2017 14:54:22 +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 C5BAF28506 for ; Fri, 17 Mar 2017 14:54:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751116AbdCQOyF (ORCPT ); Fri, 17 Mar 2017 10:54:05 -0400 Received: from mail1.bemta8.messagelabs.com ([216.82.243.206]:39493 "EHLO mail1.bemta8.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbdCQOxZ (ORCPT ); Fri, 17 Mar 2017 10:53:25 -0400 Received: from [216.82.241.100] by server-14.bemta-8.messagelabs.com id 84/E8-31019-268FBC85; Fri, 17 Mar 2017 14:53:22 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJIsWRWlGSWpSXmKPExsVy+LrFKt2kH6c jDI485bF4dWYtm8XhhqVsFmfnHWezePP7BbsDi8eaeWsYPWbdP8vmsWlVJ5vH501yASxRrJl5 SfkVCawZ1y/8ZCxYwVqx++U+pgbGmyxdjFwcQgLLGCXebZ3O1sXIwSEioCbR1R4KEmcWaGSU+ LnwAVARJwebgInEzfvnwGxhIHvW7TfsIDavgLNET/dFdpBeFgFViSffakDCogIJEhf/TGGFKB GUODnzCVgrs4C+RNPWOcwQtrzE9rcQtpCAtsT7jYvB6iUEFCSmTm5lnsDIOwtJ+ywk7bOQtC9 gZF7FqF6cWlSWWqRrppdUlJmeUZKbmJmja2hgoZebWlycmJ6ak5hUrJecn7uJERiMDECwg/FT v/MhRkkOJiVR3hcrTkcI8SXlp1RmJBZnxBeV5qQWH2KU4eBQkuDd9wEoJ1iUmp5akZaZA4wLm LQEB4+SCO+6z0Bp3uKCxNzizHSI1ClGXY4bxw+8YRJiycvPS5US5zX5CFQkAFKUUZoHNwIWo5 cYZaWEeRmBjhLiKUgtys0sQZV/xSjOwagkzGv5EmgKT2ZeCdymV0BHMAEd8fbDCZAjShIRUlI NjIyB96dt6Z1xh/2mbVKb/qefFcl3Lx7Rn6HBK3Pe3rPAfOH367OPHMp4xXG3eKHM+8UMNz/d 4bie6W7UGOQ/p/h+sHZ630ELkRfyuoYfnx2pe7356dVjR0NV7slMFpjcd2jpJzaN2COf/2llM jPKrvc/P41NXbz5l3nfruiLC3gL/e+prhX88EWJpTgj0VCLuag4EQBLtA43zAIAAA== X-Env-Sender: Marc_Gonzalez@sigmadesigns.com X-Msg-Ref: server-2.tower-220.messagelabs.com!1489762401!147720233!1 X-Originating-IP: [195.215.56.170] X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 30283 invoked from network); 17 Mar 2017 14:53:22 -0000 Received: from 195-215-56-170-static.dk.customer.tdc.net (HELO CPH-EX1.SDESIGNS.COM) (195.215.56.170) by server-2.tower-220.messagelabs.com with AES128-SHA encrypted SMTP; 17 Mar 2017 14:53:22 -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; Fri, 17 Mar 2017 15:53:20 +0100 To: Bjorn Helgaas CC: linux-pci , Lorenzo Pieralisi , Jayachandran C From: Marc Gonzalez Subject: [PATCH] PCI: Pull struct pci_ops definition Message-ID: <13b87220-8aab-3a80-1d74-8e31d2d59e20@sigmadesigns.com> Date: Fri, 17 Mar 2017 15:53:19 +0100 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 struct pci_ecam_ops embeds a struct pci_ops. Explicitly request the definition for struct pci_ops, otherwise gcc might complain: include/linux/pci-ecam.h:29:19: error: field 'pci_ops' has incomplete type Signed-off-by: Marc Gonzalez --- include/linux/pci-ecam.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/pci-ecam.h b/include/linux/pci-ecam.h index 7adad206b1f4..33c4750781a0 100644 --- a/include/linux/pci-ecam.h +++ b/include/linux/pci-ecam.h @@ -16,6 +16,7 @@ #ifndef DRIVERS_PCI_ECAM_H #define DRIVERS_PCI_ECAM_H +#include #include #include