]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ACPICA: Rename a global variable, no functional change
authorBob Moore <robert.moore@intel.com>
Wed, 3 Jan 2018 23:06:26 +0000 (15:06 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 5 Jan 2018 00:33:22 +0000 (01:33 +0100)
ACPICA commit ab9c83985e8b2b25dc1c173b753280a8d04922b5

Rename to add the standard prefix for globals.

Link: https://github.com/acpica/acpica/commit/ab9c8398
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acglobal.h
drivers/acpi/acpica/psutils.c

index 0c609f803ee1850c599f4b2762ac6d672c359d18..45ef3f5dc9ad29543cf3ff4fdf72a9715fdb711c 100644 (file)
@@ -245,7 +245,7 @@ ACPI_INIT_GLOBAL(union acpi_parse_object, *acpi_gbl_current_scope, NULL);
 
 /* ASL/ASL+ converter */
 
-ACPI_INIT_GLOBAL(u8, gbl_capture_comments, FALSE);
+ACPI_INIT_GLOBAL(u8, acpi_gbl_capture_comments, FALSE);
 ACPI_INIT_GLOBAL(struct acpi_comment_node, *acpi_gbl_last_list_head, NULL);
 
 /*****************************************************************************
index 8bd7d01039cc952e4e07a0e6d961bd281287fda8..cd59dfe6a47d9141da6a736162298447d6f17b24 100644 (file)
@@ -161,7 +161,7 @@ union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml)
                        acpi_gbl_current_scope = op;
                }
 
-               if (gbl_capture_comments) {
+               if (acpi_gbl_capture_comments) {
                        ASL_CV_TRANSFER_COMMENTS(op);
                }
        }