From patchwork Tue Jul 2 18:28:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 2814281 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1C00BBF4A1 for ; Tue, 2 Jul 2013 18:28:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 03AA32016D for ; Tue, 2 Jul 2013 18:28:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D50D320140 for ; Tue, 2 Jul 2013 18:28:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753351Ab3GBS2x (ORCPT ); Tue, 2 Jul 2013 14:28:53 -0400 Received: from mail-ie0-f170.google.com ([209.85.223.170]:58240 "EHLO mail-ie0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752990Ab3GBS2w (ORCPT ); Tue, 2 Jul 2013 14:28:52 -0400 Received: by mail-ie0-f170.google.com with SMTP id e11so13386902iej.15 for ; Tue, 02 Jul 2013 11:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=vtJg3ZIbBm1rj/3aCvnn3S7MnucX67eC8KcjKGaYMGs=; b=oRzQYFuaYwtazWYE7mFaT2LjO/xoOCF8iDH50xxGeXwQwK3YZWrd9CsrdjQPrCgECb 2Qjy/fJvb6lkq/GzwYHxeDYVG/+tUKTcUprkkFqOTERfEURZqcS2h5xxC80S3UYWASmx yWcyFB9tclzv15zIEurHVlt51sYlMm8Oo5L8Juuu4PZCTFBSxLxkWoAa9lnRu7dCA1tp TxGArzKCz1Ke1b0z5v2KFfgR/IIfYSCxpKyU18u6xl17IcAeaR6DocZJftafwxUwS9qj 1TVWe08vgG77Thj8AIOOFe4VBPo5Onio+Z71IkYvX8RvCRmMaGyHeQUXP9WtoYZTYxEu FYfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=vtJg3ZIbBm1rj/3aCvnn3S7MnucX67eC8KcjKGaYMGs=; b=K2XGYBPSSeiRXWAAdNIJ2wXYlcJ65eEXeib342t2Yb8glQXXTjCNCQRTqU/vZsy84m iHrDBDyOZA1w2v3x7lZZzvPrVeVlp+mdMWjO1E8Tl3nCchEWL4FxdsFiURVskpCLIPNP WqgLKyeXpqKWpxon20xoeBzfNYlLk86eNUy3unP7YmQ/GEcZCtpecpWCo9DjUbEPDfYO OQH4hd37xgfdb/WUhYsl6z0XYD4ax1vFlEABzzYZUXX+ghsNJOwyIWHsQoKX8/049erU k8d3EhQVD0SOmgyXCfVpKTgDnm+w725N+8RpysnCS9eFbZ6YtkjMP2QMobvAY3tV22Wi d6QQ== X-Received: by 10.50.134.72 with SMTP id pi8mr15414867igb.7.1372789732396; Tue, 02 Jul 2013 11:28:52 -0700 (PDT) Received: from localhost ([172.16.48.178]) by mx.google.com with ESMTPSA id z6sm19541612igw.8.2013.07.02.11.28.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Jul 2013 11:28:51 -0700 (PDT) Subject: [PATCH] frv/PCI: Mark pcibios_fixup_bus() as non-init To: David Howells From: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Date: Tue, 02 Jul 2013 12:28:50 -0600 Message-ID: <20130702182850.28548.17168.stgit@bhelgaas-glaptop> User-Agent: StGit/0.16 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlcR+xmEnltqjGkkG7dxhD+2Yrf3sWd89c8wYrUXwcGlcBB8ZXzce1qeEB4xK/khT2NKIKkH6MC5K4ztsZ7A7SDqpQYrhs5aswyCo6gl2H2pskDxiIrvf+ommacvsH50ZyQZ16Weeam7tVZUKvmYg4WmdGT4rEXl06c0yMqWT+0vyGRXKwmoDijOQ3cP+LGeKAK11dkSPFTWcsWaTK1lh+cHofDrQ== Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP pcibios_fixup_bus() is called by pci_scan_child_bus(), which is not marked __init. Therefore, pcibios_fixup_bus() cannot be marked __init either. Signed-off-by: Bjorn Helgaas --- arch/frv/mb93090-mb00/pci-vdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/frv/mb93090-mb00/pci-vdk.c b/arch/frv/mb93090-mb00/pci-vdk.c index 0aa35f0..deb6784 100644 --- a/arch/frv/mb93090-mb00/pci-vdk.c +++ b/arch/frv/mb93090-mb00/pci-vdk.c @@ -320,7 +320,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases); * are examined. */ -void __init pcibios_fixup_bus(struct pci_bus *bus) +void pcibios_fixup_bus(struct pci_bus *bus) { #if 0 printk("### PCIBIOS_FIXUP_BUS(%d)\n",bus->number);