PCI: Rename _DSM constants to align with spec
[sfrench/cifs-2.6.git] / drivers / pci / pci-label.c
index a5910f9428576672d0127c836e9d08019c86153e..707dd98086766a5ee0b326ff0b60520267cdc16a 100644 (file)
@@ -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,