diff options
author | Krzysztof Wilczyński <kw@linux.com> | 2020-05-27 00:39:05 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-05-28 00:48:21 +0300 |
commit | 3910ebaca8eae0cb9d41a20efe1bcb375ec64dfb (patch) | |
tree | 5411b6563b150e5d186549efd40d1960c935e3bf /drivers/pci/pci-label.c | |
parent | 5dda3ba6fc9c5d784b48687a3f3003023a0d7c74 (diff) | |
download | linux-3910ebaca8eae0cb9d41a20efe1bcb375ec64dfb.tar.xz |
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/pci/pci-label.c')
-rw-r--r-- | drivers/pci/pci-label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c index a5910f942857..707dd9808676 100644 --- a/drivers/pci/pci-label.c +++ b/drivers/pci/pci-label.c @@ -178,7 +178,7 @@ static int dsm_get_label(struct device *dev, char *buf, return -1; obj = acpi_evaluate_dsm(handle, &pci_acpi_dsm_guid, 0x2, - DEVICE_LABEL_DSM, NULL); + DSM_PCI_DEVICE_NAME, NULL); if (!obj) return -1; @@ -218,7 +218,7 @@ static bool device_has_dsm(struct device *dev) return false; return !!acpi_check_dsm(handle, &pci_acpi_dsm_guid, 0x2, - 1 << DEVICE_LABEL_DSM); + 1 << DSM_PCI_DEVICE_NAME); } static umode_t acpi_index_string_exist(struct kobject *kobj, |