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

UPSTREAM: PCI/ASPM: Always build aspm.c

Some ASPM-related tasks, such as save and restore of LTR and L1SS
capabilities, still need to be performed when CONFIG_PCIEASPM is not
enabled. To prepare for these changes, wrap the current code in aspm.c
with an #ifdef and always build the file.

Bug: 367893204
Test: build with and without CONFIG_PCIEASPM
Link: https://lore.kernel.org/r/20240128233212.1139663-2-david.e.box@linux.intel.com
[bhelgaas: split build change from function moves]
Link: https://lore.kernel.org/r/20240223205851.114931-3-helgaas@kernel.org


Change-Id: Iba6e23da0347049c0b14d8a26faed5d36b4eadbc
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 f3994bba)
Signed-off-by: default avatarBrian Norris <briannorris@google.com>
parent b62c4b4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment