From patchwork Thu Dec 2 15:33:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Assmann X-Patchwork-Id: 374861 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB2FYeg1021999 for ; Thu, 2 Dec 2010 15:36:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932118Ab0LBPfi (ORCPT ); Thu, 2 Dec 2010 10:35:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42223 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932085Ab0LBPfh (ORCPT ); Thu, 2 Dec 2010 10:35:37 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB2FXw8u026163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 2 Dec 2010 10:33:58 -0500 Received: from localhost6.localdomain6 (vpn2-8-127.ams2.redhat.com [10.36.8.127]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB2FXsjx020952; Thu, 2 Dec 2010 10:33:55 -0500 Date: Thu, 2 Dec 2010 10:33:54 -0500 From: Stefan Assmann To: linux-acpi@vger.kernel.org Cc: linux-pci@vger.kernel.org, jbarnes@virtuousgeek.org, JBeulich@novell.com, Olaf.Dabrunz@gmx.net, Stefan Assmann , mingo@elte.hu, bjorn.helgaas@hp.com, tglx@linutronix.de, lenb@kernel.org Message-Id: <20101202153420.29125.15774.sendpatchset@localhost6.localdomain6> In-Reply-To: <20101202153344.29125.86670.sendpatchset@localhost6.localdomain6> References: <20101202153344.29125.86670.sendpatchset@localhost6.localdomain6> Subject: [PATCH 4/5 v2] PCI: Add header declaration for pci_find_upstream_pcie_bridge() X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 02 Dec 2010 15:36:01 +0000 (UTC) diff --git a/include/linux/pci.h b/include/linux/pci.h index 7454408..7acb6b2 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -698,6 +698,7 @@ int pci_bus_find_ext_capability(struct pci_bus *bus, unsigned int devfn, int pci_find_ht_capability(struct pci_dev *dev, int ht_cap); int pci_find_next_ht_capability(struct pci_dev *dev, int pos, int ht_cap); struct pci_bus *pci_find_next_bus(const struct pci_bus *from); +struct pci_dev *pci_find_upstream_pcie_bridge(struct pci_dev *pdev); struct pci_dev *pci_get_device(unsigned int vendor, unsigned int device, struct pci_dev *from); @@ -1208,6 +1209,8 @@ static inline void pci_unblock_user_cfg_access(struct pci_dev *dev) static inline struct pci_bus *pci_find_next_bus(const struct pci_bus *from) { return NULL; } +static inline struct pci_dev *pci_find_upstream_pcie_bridge(struct pci_dev *pdev) +{ return NULL; } static inline struct pci_dev *pci_get_slot(struct pci_bus *bus, unsigned int devfn)