forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/acpi/acpica/nsrepair.c
....@@ -3,7 +3,7 @@
33 *
44 * Module Name: nsrepair - Repair for objects returned by predefined methods
55 *
6
- * Copyright (C) 2000 - 2018, Intel Corp.
6
+ * Copyright (C) 2000 - 2020, Intel Corp.
77 *
88 *****************************************************************************/
99
....@@ -316,7 +316,7 @@
316316
317317 this_name = acpi_object_repair_info;
318318 while (this_name->object_converter) {
319
- if (ACPI_COMPARE_NAME(node->name.ascii, this_name->name)) {
319
+ if (ACPI_COMPARE_NAMESEG(node->name.ascii, this_name->name)) {
320320
321321 /* Check if we can actually repair this name/type combination */
322322