From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E82A0C5DF61 for ; Thu, 7 Nov 2019 09:29:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BA9D4222C9 for ; Thu, 7 Nov 2019 09:29:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733035AbfKGJ3r (ORCPT ); Thu, 7 Nov 2019 04:29:47 -0500 Received: from foss.arm.com ([217.140.110.172]:52564 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727610AbfKGJ3q (ORCPT ); Thu, 7 Nov 2019 04:29:46 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3A02746A; Thu, 7 Nov 2019 01:29:46 -0800 (PST) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 947BD3F71A; Thu, 7 Nov 2019 01:29:45 -0800 (PST) Date: Thu, 7 Nov 2019 09:29:43 +0000 From: Andrew Murray To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: Re: [PATCH 4/5] PCI: Remove PCIe Kconfig dependencies on PCI Message-ID: <20191107092943.GS9723@e119886-lin.cambridge.arm.com> References: <20191106222420.10216-1-helgaas@kernel.org> <20191106222420.10216-5-helgaas@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191106222420.10216-5-helgaas@kernel.org> User-Agent: Mutt/1.10.1+81 (426a6c1) (2018-08-26) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Wed, Nov 06, 2019 at 04:24:20PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > drivers/pci/pcie/Kconfig is only sourced by drivers/pci/Kconfig, and only > when PCI is defined, so there's no need to depend on PCI again. Remove the > unnecessary dependencies. > > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/pcie/Kconfig | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig > index b196ad816129..207dac2fd588 100644 > --- a/drivers/pci/pcie/Kconfig > +++ b/drivers/pci/pcie/Kconfig > @@ -4,7 +4,6 @@ > # > config PCIEPORTBUS > bool "PCI Express Port Bus support" > - depends on PCI > help > This enables PCI Express Port Bus support. Users can then enable > support for Native Hot-Plug, Advanced Error Reporting, Power > @@ -63,7 +62,6 @@ config PCIE_ECRC > # > config PCIEASPM > bool "PCI Express ASPM control" if EXPERT > - depends on PCI > default y > help > This enables OS control over PCI Express ASPM (Active State Reviewed-by: Andrew Murray > -- > 2.24.0.rc1.363.gb1bccd3e3d-goog >