From patchwork Thu Oct 8 18:51:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kuleshov X-Patchwork-Id: 7354931 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8923E9F1D5 for ; Thu, 8 Oct 2015 18:53:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B5533207F3 for ; Thu, 8 Oct 2015 18:53:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7E8F207E3 for ; Thu, 8 Oct 2015 18:53:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758215AbbJHSxU (ORCPT ); Thu, 8 Oct 2015 14:53:20 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:34342 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754181AbbJHSxT (ORCPT ); Thu, 8 Oct 2015 14:53:19 -0400 Received: by lbbwt4 with SMTP id wt4so57467710lbb.1; Thu, 08 Oct 2015 11:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=wXePMN3nJ1ZsEGqsNOvK7cbP3T6c0YbgtbDJWMPyUzU=; b=vFWv3hSKfAsBU+h2V8I/Q20MtusHlZaDI06D5N0+BY+UPj3xafpCDm2cL1t9kCBTxk XGvgWIQ/vj3YxTRSCmEdqUKo8PkCdb2JyOdjMEYe3FWNX2v9ijmJEFNw/kR6ltINub7X LB0Y8j/dgvCZo5G9/BVKmSHYWRTKO/qDxPdny6cjaz/zdYSSJ0Ex90i/TlmmTz8o66Lt Y1dNbAeEjUerWYO6XyC8FrurMgQlQsaQ0bnmv1EupWkZaUqu9AdYYW0zqAiJmGoqou59 HW7zgT7LTX7TsOWJoPjuaN8fjXrqwugcdsZIfkhT8YSmxOfJ/4EReftVBEeRLv8SGiFX Qe4Q== X-Received: by 10.112.129.202 with SMTP id ny10mr4435051lbb.112.1444330398126; Thu, 08 Oct 2015 11:53:18 -0700 (PDT) Received: from localhost.localdomain ([178.88.158.246]) by smtp.gmail.com with ESMTPSA id jb10sm7454460lbc.46.2015.10.08.11.53.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 11:53:17 -0700 (PDT) From: Alexander Kuleshov To: Bjorn Helgaas Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Kuleshov Subject: [PATCH] x86/pci/legacy: make pci_subsys_init static Date: Fri, 9 Oct 2015 00:51:46 +0600 Message-Id: <1444330306-14076-1-git-send-email-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.6.0 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, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 The pci_subsys_init() is a subsys_initcall that can be declared static. Signed-off-by: Alexander Kuleshov --- arch/x86/pci/legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c index 5b662c0..ea6f380 100644 --- a/arch/x86/pci/legacy.c +++ b/arch/x86/pci/legacy.c @@ -54,7 +54,7 @@ void pcibios_scan_specific_bus(int busn) } EXPORT_SYMBOL_GPL(pcibios_scan_specific_bus); -int __init pci_subsys_init(void) +static int __init pci_subsys_init(void) { /* * The init function returns an non zero value when