Commit b62c4b4d authored by David E. Box's avatar David E. Box Committed by Todd Kjos
Browse files

UPSTREAM: PCI/ASPM: Move pci_configure_ltr() to aspm.c



The Latency Tolerance Reporting (LTR) mechanism supports the ASPM L1.2
state and is only configured when CONFIG_PCIEASPM is set.

Move pci_configure_ltr() and pci_bridge_reconfigure_ltr() into aspm.c since
they only build when CONFIG_PCIEASPM is set.  No functional change
intended.

Bug: 367893204
Test: build with and without CONFIG_PCIEASPM
Suggested-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20240128233212.1139663-2-david.e.box@linux.intel.com
[bhelgaas: commit log, split build change from function moves]
Link: https://lore.kernel.org/r/20240223205851.114931-2-helgaas@kernel.org


Change-Id: I133d8d9eb012e9280069e91353d9e29933409015
Signed-off-by: default avatarDavid E. Box <david.e.box@linux.intel.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
(cherry picked from commit fa84f443)
Signed-off-by: default avatarBrian Norris <briannorris@google.com>
parent 5a8cdb76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment