From patchwork Tue Jul 2 18:29:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 2814291 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 942689F755 for ; Tue, 2 Jul 2013 18:29:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BD88520177 for ; Tue, 2 Jul 2013 18:29:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A364B20140 for ; Tue, 2 Jul 2013 18:29:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753491Ab3GBS3q (ORCPT ); Tue, 2 Jul 2013 14:29:46 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:63048 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753371Ab3GBS3p (ORCPT ); Tue, 2 Jul 2013 14:29:45 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so13377039ied.28 for ; Tue, 02 Jul 2013 11:29:45 -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=0IzQPvz27i2S0YdfNsANUX4NonF+loH/p9MiNAjk8UE=; b=eMffsGybhYYew4PD4yJHQMu8B4SsE/WqjyvsxTw1GCC1sRx2+0qFxMZgzWcaCHsZrm AQzHUDwqXB5w9a7ngte8rTolTTdyeOd0yCIOXTddVbrSuySz4g0uoWbXkkmL1ctRS9jG 9+JbuONIcPUXg6EudKWfOL66aMvRzoUwYnNjFllKnEK6pnBmMIS8E48bxsnQmVrYGo/e j4LlM834qOI5ZGd0YBUbokTlsmh1P0ekkxXueP7Tte3hWtbOMMdeSgCZ3zheTIN1mXXy 3M67nWwlTxoKjgLdOhsV9flCR075npALx1UlqVCJBxkncIuNOYCZTmaXh9LupLSe3bLT Lhpw== 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=0IzQPvz27i2S0YdfNsANUX4NonF+loH/p9MiNAjk8UE=; b=nNYOAF0+WXy9PsWEQ6bp301UsH0Tz92Yms6Kp8tPiB7+aL8oDkleYfeJSxp3th423w PHwiDuHT8IW/Pe/Gg6otqvIC/Xs/1KTG/667nE6713HvxwrsGkIaIG7iq0LrEaglOexJ Fjnf5L2Nlk01xevAo6H6Iwkqf5mG44x6SiBONY99XuOgXvt8xlF0CelUTYuz4UCLamHl yJC/Q1a3bb8nS0mVSPpcfkN0YsF30s3MwoBrt6AHmn8YCWIwC4N1DmrsVhrZA2Rdf5Sp nJncslGzuU+GW44od3cNdj+fq6xsLie+AeFsZcyONpW66sSgbXhsA8zaFauiGNxz6p9k De3A== X-Received: by 10.50.154.38 with SMTP id vl6mr556465igb.44.1372789784694; Tue, 02 Jul 2013 11:29:44 -0700 (PDT) Received: from localhost ([172.16.48.178]) by mx.google.com with ESMTPSA id ht10sm19612678igb.2.2013.07.02.11.29.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Jul 2013 11:29:43 -0700 (PDT) Subject: [PATCH] xtensa/PCI: Mark pcibios_fixup_bus() as non-init To: Chris Zankel , Max Filippov From: Bjorn Helgaas Cc: linux-xtensa@linux-xtensa.org, linux-pci@vger.kernel.org Date: Tue, 02 Jul 2013 12:29:42 -0600 Message-ID: <20130702182942.28572.82708.stgit@bhelgaas-glaptop> User-Agent: StGit/0.16 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQl4D0xKRaWgMwyD7sZ9khvLh6JrwM0RRzST0C6atdbU8qjdSPOpoU6JR11fenn9+cKRwGQxt5e1CQVvonbLgUYSHAAL/L6yCzccKts5zyf9SugWstQarY4d2BJGQLffzOThmS8qjnLtFgw5fpWvmIj0JF4zrypXnYrQz80hQ/sRtf/TQb5JR6A+RSaCzRscXPxhG1ecXFoM73pv/yZ9MI8PrqpubQ== 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=ham 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/xtensa/kernel/pci.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/xtensa/kernel/pci.c b/arch/xtensa/kernel/pci.c index 126c188..56693dd 100644 --- a/arch/xtensa/kernel/pci.c +++ b/arch/xtensa/kernel/pci.c @@ -197,7 +197,7 @@ static int __init pcibios_init(void) subsys_initcall(pcibios_init); -void __init pcibios_fixup_bus(struct pci_bus *bus) +void pcibios_fixup_bus(struct pci_bus *bus) { if (bus->parent) { /* This is a subordinate bridge */