From patchwork Tue Aug 7 16:11:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiang Liu X-Patchwork-Id: 1286791 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 5AFB7DF280 for ; Tue, 7 Aug 2012 16:22:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755825Ab2HGQVu (ORCPT ); Tue, 7 Aug 2012 12:21:50 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:51364 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755739Ab2HGQVs (ORCPT ); Tue, 7 Aug 2012 12:21:48 -0400 Received: by mail-pb0-f46.google.com with SMTP id rr13so4529963pbb.19 for ; Tue, 07 Aug 2012 09:21:48 -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:x-mailer:in-reply-to:references; bh=1zpT98cu2Ecz2enzcxVS/RVQPBfnCqGw1qwKbrFvrHw=; b=HBAtlco5+PpZGt+Bu4Zdav2my3zbF2IcZdOXR7YbkqNVzgvOkAKllTASI5dNgSks4u KwlUkFVNRCSE8YyHcmCUmG/0LHYONO0v5COhNMaphcQ5J/lZNIK2HxzLIJ7aN59dTrRe gF6lncDZdd6/gD08AcenBs24C5cmUEcOFo6DQrNhVcbyIHotJ++z1OGF7kmsWW3roovA YmrCjuIbIVbU2Bjnm55nEEsVhSgIMxlvpPYxiv8uPrfFz4YIGmIKnP11fhhxbiK3mZFi lSI+Ylcmrrh/r5ICfsTwJvKOYiMm7Bv11FyJVGMonq0SejIzr/q5LeY/Y/gCJC+LR9XP aEIw== Received: by 10.68.239.103 with SMTP id vr7mr29493292pbc.0.1344356508440; Tue, 07 Aug 2012 09:21:48 -0700 (PDT) Received: from localhost.localdomain ([58.250.81.2]) by mx.google.com with ESMTPS id pt2sm11429362pbb.58.2012.08.07.09.21.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 09:21:47 -0700 (PDT) From: Jiang Liu To: Bjorn Helgaas , Don Dutile , Yinghai Lu , Greg KH , Kenji Kaneshige Cc: Jiang Liu , Taku Izumi , "Rafael J . Wysocki" , Yijing Wang , Xinwei Hu , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Jiang Liu Subject: [RFC PATCH v1 22/22] PCI: unexport pci_root_buses Date: Wed, 8 Aug 2012 00:11:02 +0800 Message-Id: <1344355862-2726-23-git-send-email-jiang.liu@huawei.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1344355862-2726-1-git-send-email-jiang.liu@huawei.com> References: <1344355862-2726-1-git-send-email-jiang.liu@huawei.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Now no module refers to pci_root_buses any more, unexport it. Signed-off-by: Jiang Liu --- drivers/pci/probe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 09517c3..dd48d7f 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -24,11 +24,9 @@ struct resource busn_resource = { }; /* - * Ugh. Need to stop exporting this to modules. * Protected by pci_host_bridge_hotplug_{lock|unlock}(). */ LIST_HEAD(pci_root_buses); -EXPORT_SYMBOL(pci_root_buses); static LIST_HEAD(pci_domain_busn_res_list);