Skip to content

Commit

Permalink
PCI: Remove unnecessary dependencies between PME and ACPI
Browse files Browse the repository at this point in the history
PCIe PME doesn't depend on ACPI, so remove the #includes and
Kconfig dependency.

Based-on-patch-by: Andrew Murray <Andrew.Murray@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Bjorn Helgaas committed Apr 15, 2013
1 parent c85bcad commit 0579572
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/pci/pcie/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ endchoice

config PCIE_PME
def_bool y
depends on PCIEPORTBUS && PM_RUNTIME && ACPI
depends on PCIEPORTBUS && PM_RUNTIME
2 changes: 0 additions & 2 deletions drivers/pci/pcie/pme.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/pcieport_if.h>
#include <linux/acpi.h>
#include <linux/pci-acpi.h>
#include <linux/pm_runtime.h>

#include "../pci.h"
Expand Down

0 comments on commit 0579572

Please sign in to comment.