summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorKrzysztof Wilczyński <kw@linux.com>2020-05-26 23:39:05 +0200
committerBjorn Helgaas <bhelgaas@google.com>2020-05-27 23:48:21 +0200
commit3910ebaca8eae0cb9d41a20efe1bcb375ec64dfb (patch)
tree5411b6563b150e5d186549efd40d1960c935e3bf /drivers/acpi
parentPCI/PME: Fix kernel-doc of pcie_pme_resume() and pcie_pme_remove() (diff)
downloadlinux-3910ebaca8eae0cb9d41a20efe1bcb375ec64dfb.tar.xz
linux-3910ebaca8eae0cb9d41a20efe1bcb375ec64dfb.zip
PCI: Rename _DSM constants to align with spec
Rename PCI-related _DSM constants to align them with the PCI Firmware Spec, r3.2, sec 4.6. No functional change intended. Link: https://lore.kernel.org/r/20200526213905.2479381-1-kw@linux.com Signed-off-by: Krzysztof Wilczyński <kw@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/pci_root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index ac8ad6cb82aa..191204a4abe9 100644
--- a/drivers/acpi/pci_root.c
+++ b/drivers/acpi/pci_root.c
@@ -938,7 +938,7 @@ struct pci_bus *acpi_pci_root_create(struct acpi_pci_root *root,
* assignments made by firmware for this host bridge.
*/
obj = acpi_evaluate_dsm(ACPI_HANDLE(bus->bridge), &pci_acpi_dsm_guid, 1,
- IGNORE_PCI_BOOT_CONFIG_DSM, NULL);
+ DSM_PCI_PRESERVE_BOOT_CONFIG, NULL);
if (obj && obj->type == ACPI_TYPE_INTEGER && obj->integer.value == 0)
host_bridge->preserve_config = 1;
ACPI_FREE(obj);