From patchwork Fri Sep 14 21:11:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 1460291 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id B282A402E1 for ; Fri, 14 Sep 2012 21:15:09 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TCdAq-0006ms-9K; Fri, 14 Sep 2012 21:11:40 +0000 Received: from moutng.kundenserver.de ([212.227.17.8]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TCdAf-0006mQ-6c for linux-arm-kernel@lists.infradead.org; Fri, 14 Sep 2012 21:11:36 +0000 Received: from mailbox.adnet.avionic-design.de (mailbox.avionic-design.de [109.75.18.3]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0M2pmM-1TUi1E1t82-00sVfN; Fri, 14 Sep 2012 23:11:22 +0200 Received: from localhost (localhost [127.0.0.1]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id C17D32A28308; Fri, 14 Sep 2012 23:11:21 +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 Vru-9PayQLFE; Fri, 14 Sep 2012 23:11:20 +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 568D92A28304; Fri, 14 Sep 2012 23:11:20 +0200 (CEST) From: Thierry Reding To: Russell King Subject: [PATCH 1/2] ARM: pci: Keep pci_common_init() around after init Date: Fri, 14 Sep 2012 23:11:17 +0200 Message-Id: <1347657078-32230-2-git-send-email-thierry.reding@avionic-design.de> X-Mailer: git-send-email 1.7.12 In-Reply-To: <1347657078-32230-1-git-send-email-thierry.reding@avionic-design.de> References: <1347657078-32230-1-git-send-email-thierry.reding@avionic-design.de> X-Provags-ID: V02:K0:3TTDdCh81rXSl0ULxXVNV8ZuQz5IkDCCOKcoE9dFqhm h2IifN6BKi/PDYrRsGTz5cxA/hAxHDe7oEOB4Im9Qzq9PYc78I hj2znS+AyZaV8+zvCoHYPgaKc+jyYGEjPBJsFGLfkcbWj5drSA 4JD1aptO3D1pEtEOzmF2vsnTwTbVPMWqzwiTlabO3odRCs+GpP Qr42nhqUvaH7RQQV0wcSYac2W8L/cL6eOv/MbGUKNvqGayGa+D 9MgrS2QFmUSUtMkjWzzuH4f1o+Fv7ZoeHGNbZbRVnB9E23Cxe8 KaRhkcFbJs+7rrQYOiFGvmwNkze+2NdZ4pQMXn/QLrA7h1y7Pt QjaWHxeI36r/RyGlfojj+b/qycrCuIjrcN0vNo2V7LyLXEjNo7 rjRsKMtH2oETkRftxV5nX1SB8WlIvHXWSjfB0ijW3fWZ+KtEBa hxwJn X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.8 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Bjorn Helgaas , linux-kernel@vger.kernel.org, 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 --- 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 2b2f25e..7288093 100644 --- a/arch/arm/kernel/bios32.c +++ b/arch/arm/kernel/bios32.c @@ -423,7 +423,7 @@ static int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) return irq; } -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; @@ -472,7 +472,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);