]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/ASPM: Unexport internal ASPM interfaces
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Dec 2017 14:57:28 +0000 (08:57 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 19 Dec 2017 05:02:57 +0000 (23:02 -0600)
commit621b903f816553d96daaca574ee0acad3d2013d0
tree7024665a2323e5d61255d46f2f874391fdfc0101
parent85302800cb60aa5826832ab57e6cead4f82a497e
PCI/ASPM: Unexport internal ASPM interfaces

Several of the interfaces defined in include/linux/pci-aspm.h are used only
internally from the PCI core:

  pcie_aspm_init_link_state()
  pcie_aspm_exit_link_state()
  pcie_aspm_pm_state_change()
  pcie_aspm_powersave_config_link()
  pcie_aspm_create_sysfs_dev_files()
  pcie_aspm_remove_sysfs_dev_files()

Move these to the internal drivers/pci/pci.h header so they don't clutter
the driver interface.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h
include/linux/pci-aspm.h