Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <Andrew.Murray@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

+1 -3
+1 -1
drivers/pci/pcie/Kconfig
··· 82 82 83 83 config PCIE_PME 84 84 def_bool y 85 - depends on PCIEPORTBUS && PM_RUNTIME && ACPI 85 + depends on PCIEPORTBUS && PM_RUNTIME
-2
drivers/pci/pcie/pme.c
··· 19 19 #include <linux/interrupt.h> 20 20 #include <linux/device.h> 21 21 #include <linux/pcieport_if.h> 22 - #include <linux/acpi.h> 23 - #include <linux/pci-acpi.h> 24 22 #include <linux/pm_runtime.h> 25 23 26 24 #include "../pci.h"