PCI: Move ASPM declarations to linux/pci.h
authorKrzysztof Wilczynski <kw@linux.com>
Tue, 27 Aug 2019 09:56:20 +0000 (11:56 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 Aug 2019 13:28:39 +0000 (08:28 -0500)
commit7ce2e76a0420801fb4b53b9e6850940e6b326433
treeb22b0ca582ae8f912454e91cc976541feae9ca3a
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
PCI: Move ASPM declarations to linux/pci.h

Move ASPM definitions and function prototypes from include/linux/pci-aspm.h
to include/linux/pci.h so users only need to include <linux/pci.h>:

  PCIE_LINK_STATE_L0S
  PCIE_LINK_STATE_L1
  PCIE_LINK_STATE_CLKPM
  pci_disable_link_state()
  pci_disable_link_state_locked()
  pcie_no_aspm()

No functional changes intended.

Link: https://lore.kernel.org/r/20190827095620.11213-1-kw@linux.com
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
17 files changed:
drivers/acpi/pci_root.c
drivers/char/xillybus/xillybus_pcie.c
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/jme.c
drivers/net/ethernet/realtek/r8169_main.c
drivers/net/wireless/ath/ath5k/pci.c
drivers/net/wireless/intel/iwlegacy/3945-mac.c
drivers/net/wireless/intel/iwlegacy/4965-mac.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c
drivers/pci/pci-acpi.c
drivers/pci/pcie/aspm.c
drivers/pci/quirks.c
drivers/scsi/aacraid/linit.c
drivers/scsi/hpsa.c
drivers/scsi/mpt3sas/mpt3sas_scsih.c
include/linux/pci-aspm.h [deleted file]
include/linux/pci.h