diff options
author | 2022-12-10 10:36:32 -0600 | |
---|---|---|
committer | 2022-12-10 10:36:32 -0600 | |
commit | eae10935ef894532acf8645ed444fe4480a4eaf8 (patch) | |
tree | 116d20e24ca78d1df2bddaaa103c45b87509ecd0 | |
parent | Merge branch 'pci/hotplug' (diff) | |
parent | PCI/ACPI: Use METHOD_NAME__UID instead of plain string (diff) | |
download | wireguard-linux-eae10935ef894532acf8645ed444fe4480a4eaf8.tar.xz wireguard-linux-eae10935ef894532acf8645ed444fe4480a4eaf8.zip |
Merge branch 'pci/misc'
- Use METHOD_NAME__UID instead of plain string to make it easier to find
all uses (Yipeng Zou)
* pci/misc:
PCI/ACPI: Use METHOD_NAME__UID instead of plain string
-rw-r--r-- | drivers/pci/pci-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index a46fec776ad7..068d6745bf98 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -67,7 +67,7 @@ static acpi_status acpi_match_rc(acpi_handle handle, u32 lvl, void *context, unsigned long long uid; acpi_status status; - status = acpi_evaluate_integer(handle, "_UID", NULL, &uid); + status = acpi_evaluate_integer(handle, METHOD_NAME__UID, NULL, &uid); if (ACPI_FAILURE(status) || uid != *segment) return AE_CTRL_DEPTH; |