From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Subject: Re: [PATCH] pci: Remove unnecessary dependency between PME and ACPI. Date: Thu, 11 Apr 2013 17:44:26 -0600 Message-ID: <20130411234426.GA10196@google.com> References: <20130221155329.GA26729@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20130221155329.GA26729@arm.com> Sender: linux-pci-owner@vger.kernel.org To: Andrew Murray Cc: linux-pci@vger.kernel.org, "thierry.reding@avionic-design.de" , "thomas.petazzoni@free-electrons.com" , "jbarnes@virtuousgeek.org" , linux-acpi@vger.kernel.org, "Rafael J. Wysocki" List-Id: linux-acpi@vger.kernel.org On Thu, Feb 21, 2013 at 03:53:29PM +0000, Andrew Murray wrote: > Signed-off-by: Andrew Murray > Signed-off-by: Liviu Dudau > --- > drivers/pci/pcie/Kconfig | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig > index 6c8bc58..4cccd8c 100644 > --- a/drivers/pci/pcie/Kconfig > +++ b/drivers/pci/pcie/Kconfig > @@ -82,4 +82,4 @@ endchoice > > config PCIE_PME > def_bool y > - depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL && ACPI > + depends on PCIEPORTBUS && PM_RUNTIME && EXPERIMENTAL I think we can go even further and remove the ACPI-related #includes as in the patch below. Any objections to this? commit 8bde83b5f5519b630e7630fb735f76c184c74289 Author: Bjorn Helgaas Date: Thu Apr 11 17:36:50 2013 -0600 PCI: Remove unnecessary dependencies between PME and ACPI PCIe PME doesn't depend on ACPI, so remove the #includes and Kconfig dependency. Based-on-patch-by: Andrew Murray Signed-off-by: Bjorn Helgaas diff --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig index fde4a32..569f82f 100644 --- a/drivers/pci/pcie/Kconfig +++ b/drivers/pci/pcie/Kconfig @@ -82,4 +82,4 @@ endchoice config PCIE_PME def_bool y - depends on PCIEPORTBUS && PM_RUNTIME && ACPI + depends on PCIEPORTBUS && PM_RUNTIME diff --git a/drivers/pci/pcie/pme.c b/drivers/pci/pcie/pme.c index 9ca0dc9..795db1f 100644 --- a/drivers/pci/pcie/pme.c +++ b/drivers/pci/pcie/pme.c @@ -19,8 +19,6 @@ #include #include #include -#include -#include #include #include "../pci.h"