summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2023-02-07 10:23:28 -0800
committerGitHub <noreply@github.com>2023-02-07 10:23:28 -0800
commit77c550223c3d71555d84ff110d93021488953e73 (patch)
treedcb1251ebac5262665ce5dbc5c99d23ef0c77d57
parent2b00f7329bc3e1bf971ed475d0717c00110c059e (diff)
parent86fb8e10ac17ce44186a024ceaddd0b23d7e14f2 (diff)
downloadacpica-77c550223c3d71555d84ff110d93021488953e73.tar.gz
Merge pull request #773 from s-ailus/master
Constify AcpiGetHandle pathname argument
-rw-r--r--source/components/namespace/nsxfname.c2
-rw-r--r--source/include/acpixf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/components/namespace/nsxfname.c b/source/components/namespace/nsxfname.c
index ab26ab577..c19b02442 100644
--- a/source/components/namespace/nsxfname.c
+++ b/source/components/namespace/nsxfname.c
@@ -192,7 +192,7 @@ AcpiNsCopyDeviceId (
ACPI_STATUS
AcpiGetHandle (
ACPI_HANDLE Parent,
- ACPI_STRING Pathname,
+ const char *Pathname,
ACPI_HANDLE *RetHandle)
{
ACPI_STATUS Status;
diff --git a/source/include/acpixf.h b/source/include/acpixf.h
index f23f4603d..a23978c1f 100644
--- a/source/include/acpixf.h
+++ b/source/include/acpixf.h
@@ -770,7 +770,7 @@ ACPI_EXTERNAL_RETURN_STATUS (
ACPI_STATUS
AcpiGetHandle (
ACPI_HANDLE Parent,
- ACPI_STRING Pathname,
+ const char *Pathname,
ACPI_HANDLE *RetHandle))
ACPI_EXTERNAL_RETURN_STATUS (