From patchwork Thu Jul 26 19:55:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 1244771 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id CF887DFFCE for ; Thu, 26 Jul 2012 20:12:45 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SuUJq-0005Ur-QI; Thu, 26 Jul 2012 20:06:01 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SuU9q-00044T-BP for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2012 19:55:39 +0000 Received: from mailbox.adnet.avionic-design.de (mailbox.avionic-design.de [109.75.18.3]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MIAwM-1SyLlq158I-003N1X; Thu, 26 Jul 2012 21:55:16 +0200 Received: from localhost (localhost [127.0.0.1]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id 4D9DF2A282E9; Thu, 26 Jul 2012 21:55:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at avionic-design.de Received: from mailbox.adnet.avionic-design.de ([127.0.0.1]) by localhost (mailbox.avionic-design.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RxdFhnLCoLfF; Thu, 26 Jul 2012 21:55:14 +0200 (CEST) Received: from localhost (avionic-0098.adnet.avionic-design.de [172.20.31.233]) (Authenticated sender: thierry.reding) by mailbox.adnet.avionic-design.de (Postfix) with ESMTPA id 29F612A28161; Thu, 26 Jul 2012 21:55:14 +0200 (CEST) From: Thierry Reding To: linux-tegra@vger.kernel.org Subject: [PATCH v3 02/10] ARM: pci: Keep pci_common_init() around after init Date: Thu, 26 Jul 2012 21:55:04 +0200 Message-Id: <1343332512-28762-3-git-send-email-thierry.reding@avionic-design.de> X-Mailer: git-send-email 1.7.11.2 In-Reply-To: <1343332512-28762-1-git-send-email-thierry.reding@avionic-design.de> References: <1343332512-28762-1-git-send-email-thierry.reding@avionic-design.de> X-Provags-ID: V02:K0:0BuSOpIuU4uUeG+WahZFTi3nQKn/b/knHgCYMT9UQje HEv5Ui5QLsRcOk57jK98nSE6V2FJI+MBYXkZtHX/DY6lGRErXz dZmJ7woZZmNcVZyxQD88Qpa5Xe3KO/nCtr0VfiRaFof5J4dUjJ cSAu5Eu5fpMWKxB2fXxlAVdkJ7r2h9gy3qC+cnWmu6Ha+deKcZ 6UxikwpVEORDAaKKggBa6PFioy7VBznBCIgZsZn2xglKd5CK7f ZCrLKvFQ4lTLzueb9CSB+FeYjW31FapLVwdzwWid5uQPMG3Vp6 jecKCvSOm6Cz1UzzYKyowyL/zcdhCSxns+sOPMPOimCaNyha+c v/0uTdX4t6s9Rj3OABXjEkXvpNnvc7HhevbpCHE2G9FOnhqD0I MLcY1JdRdeOynids3ysTWXAZDoLBJcaoFArNvA+ndS4Vygk9qr Sw1BY X-Spam-Note: CRM114 invocation failed X-Spam-Note: SpamAssassin invocation failed Cc: Mitch Bradley , Russell King , Arnd Bergmann , Stephen Warren , linux-pci@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Rob Herring , Grant Likely , Olof Johansson , Colin Cross , Bjorn Helgaas , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org When using deferred driver probing, PCI host controller drivers may actually require this function after the init stage. Signed-off-by: Thierry Reding --- Changes in v3: - none Changes in v2: - use __devinit annotations arch/arm/kernel/bios32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c index 70dabb9..5c3dd59 100644 --- a/arch/arm/kernel/bios32.c +++ b/arch/arm/kernel/bios32.c @@ -456,7 +456,7 @@ static int __init pcibios_init_resources(int busnr, struct pci_sys_data *sys) return 0; } -static void __init pcibios_init_hw(struct hw_pci *hw, struct list_head *head) +static void __devinit pcibios_init_hw(struct hw_pci *hw, struct list_head *head) { struct pci_sys_data *sys = NULL; int ret; @@ -504,7 +504,7 @@ static void __init pcibios_init_hw(struct hw_pci *hw, struct list_head *head) } } -void __init pci_common_init(struct hw_pci *hw) +void __devinit pci_common_init(struct hw_pci *hw) { struct pci_sys_data *sys; LIST_HEAD(head);