From patchwork Mon Jul 11 23:14:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 589401 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2CC4C433EF for ; Mon, 11 Jul 2022 23:14:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230493AbiGKXO1 (ORCPT ); Mon, 11 Jul 2022 19:14:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229754AbiGKXO0 (ORCPT ); Mon, 11 Jul 2022 19:14:26 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63B2713F2B; Mon, 11 Jul 2022 16:14:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1F5A5B81600; Mon, 11 Jul 2022 23:14:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8584FC3411C; Mon, 11 Jul 2022 23:14:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657581262; bh=mMba7gFzAF0TrMtX204scPIT/uUpco94eMziNYXbX3M=; h=From:To:Cc:Subject:Date:From; b=E5krMtZBm8Fpy2NU2Q4kb3/MzAszbuZPcWJKLGaBi3bYAOaLktzLKzQebeNe+i7g+ zh/MWBykuSBt7+XemK4mVdws9YaKRVz+5MCtS6FW3Z3eRZL96obQljdqj6Oa9PCl7o qgPN0XUKYZCxoNwTEFmuuPeTAPfggXJR7z0RxZOQiF76PoMYCTVoTb7ytIK+V/ip6+ 3Mtm9Lg57jERWh0uV4ovFXDDruNP6rUpJ1Hn9Mx/YJH+XGVeXQnJX34/JKjqHaSCQr aVEbNiG4RuLdYZTldAw2rpKU7P5XhFpepOjDFRcKeHhS950TkHvKijfjvBER3Eg3U2 jUzEhYM1yzFJQ== From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Kai-Heng Feng , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH] PCI/ASPM: Unexport pcie_aspm_support_enabled() Date: Mon, 11 Jul 2022 18:14:19 -0500 Message-Id: <20220711231419.706639-1-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Bjorn Helgaas pcie_aspm_support_enabled() is used only by the acpi/pci_root.c driver, which cannot be built as a module, so it does not need to be exported. Unexport it. Signed-off-by: Bjorn Helgaas --- drivers/pci/pcie/aspm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c index 7f76a5875feb..a8aec190986c 100644 --- a/drivers/pci/pcie/aspm.c +++ b/drivers/pci/pcie/aspm.c @@ -1347,4 +1347,3 @@ bool pcie_aspm_support_enabled(void) { return aspm_support_enabled; } -EXPORT_SYMBOL(pcie_aspm_support_enabled);