PCI/ASPM: Always build aspm.c
authorDavid E. Box <david.e.box@linux.intel.com>
Fri, 23 Feb 2024 20:58:48 +0000 (14:58 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 7 Mar 2024 20:29:17 +0000 (14:29 -0600)
commitf3994bba8200b49e3eacbe5914cd13f228e0db37
treea12f055dc92a7999683fb8fdc1649bd6564af799
parentfa84f4435a6202dd90248517f41e54bf3fb85bc5
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.

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
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/Makefile
drivers/pci/pcie/aspm.c